Skip to content

Commit

Permalink
Item109: More TWikiPreferences to Default/SitePreferences changes
Browse files Browse the repository at this point in the history
More to come


git-svn-id: http://svn.foswiki.org/trunk/DateFieldPlugin@526 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
KennethLavrsen authored and KennethLavrsen committed Nov 10, 2008
1 parent 958e411 commit 252f22e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/TWiki/DateFieldPlugin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ If you want to use Javascript to create other data types in form fields, you can
Required for old TWiki versions
* Set SHORTDESCRIPTION = Adds a =date= type to forms
-->
The default date format is taken from the JSCalendarContrib settings. You can change the date format by setting the TWiki variable 'DATEFORMAT' in your !TWikiPreferences, your !WebPreferences or in a topic. For example:
The default date format is taken from the JSCalendarContrib settings. You can change the date format by setting the TWiki variable 'DATEFORMAT' in your !%SYSTEMWEB%.DefaultPreferences, your !%USERSWEB%.SitePreferences, your !WebPreferences or in a topic. For example:
* Set <nop>DATEFORMAT = %c
Look up =strftime= in Google for a full list of the format options.

The plugin can default to todays date by setting the TWiki variable 'DATEFIELDPLUGIN_DEFAULTTOTODAY' in your !TWikiPreferences, your !WebPreferences or in a topic. For example:
The plugin can default to todays date by setting the TWiki variable 'DATEFIELDPLUGIN_DEFAULTTOTODAY' in your !%SYSTEMWEB%.DefaultPreferences, your !%USERSWEB%.SitePreferences, your !WebPreferences or in a topic. For example:
* Set <nop>DATEFIELDPLUGIN_DEFAULTTOTODAY = 1

See JSCalendarContrib for additional settings.
Expand Down

0 comments on commit 252f22e

Please sign in to comment.