Changeset 1289
- Timestamp:
- 12/12/08 06:11:05 (3 years ago)
- Location:
- trunk/core
- Files:
-
- 1 deleted
- 2 edited
-
data/System/VarSERVERTIME.txt (modified) (1 diff)
-
data/System/VarSERVERTIME2.txt (deleted)
-
lib/Foswiki/Contrib/core/MANIFEST (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/data/System/VarSERVERTIME.txt
r693 r1289 2 2 %META:TOPICPARENT{name="Macros"}% 3 3 #VarSERVERTIME 4 ---+++ SERVERTIME -- server time 5 * Syntax: =%<nop>SERVERTIME%= 6 * Expands to: =%SERVERTIME%= 7 * Date format defined as {DefaultDateFormat} in [[%SCRIPTURLPATH{"configure"}%][configure]] 4 ---+++ SERVERTIME{"format"} -- formatted server time 5 * Same format qualifiers as =%<nop>GMTIME%= 6 * Syntax: =%<nop>SERVERTIME%= OR =%<nop>SERVERTIME{"format"}%= 7 * =%<nop>SERVERTIME%= uses the Date format defined as {DefaultDateFormat} in [[%SCRIPTURLPATH{"configure"}%][configure]] 8 * Example: =%<nop>SERVERTIME{"$hou:$min"}%= expands to =%SERVERTIME{"$hou:$min"}%= 8 9 * __%X% Note:__ When used in a template topic, this macro will be expanded when the template is used to create a new topic. See TemplateTopics#TemplateTopicsVars for details. 9 * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarDISPLAYTIME][DISPLAYTIME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarGMTIME][GMTIME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSERVERTIME2][SERVERTIME{"format"}]] 10 10 * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarGMTIME][GMTIME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSERVERTIME][SERVERTIME]] -
trunk/core/lib/Foswiki/Contrib/core/MANIFEST
r1288 r1289 254 254 data/System/VarSEARCH.txt 0644 255 255 data/System/VarSERVERTIME.txt 0644 256 data/System/VarSERVERTIME2.txt 0644257 256 data/System/VarSESSIONID.txt 0644 258 257 data/System/VarSESSIONVAR.txt 0644
Note: See TracChangeset
for help on using the changeset viewer.
