Changeset 1287


Ignore:
Timestamp:
12/12/08 06:05:09 (3 years ago)
Author:
SvenDowideit
Message:

Item41: remove the duplicate TAG topics - VarGMTIME2

Location:
trunk/core
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/data/System/VarGMTIME.txt

    r688 r1287  
    22%META:TOPICPARENT{name="Macros"}% 
    33#VarGMTIME 
    4 ---+++ GMTIME -- GM time 
    5    * Syntax: =%<nop>GMTIME%= 
    6    * Expands to: =%GMTIME%= 
    7    * Date format defined as {DefaultDateFormat} in [[%SCRIPTURLPATH{"configure"}%][configure]] 
     4---+++ GMTIME{"format"} -- formatted GM time 
     5   * Syntax: =%<nop>GMTIME%= OR =%<nop>GMTIME{"format"}%= 
     6   * =%<nop>GMTIME%= uses the default date format defined by the {DefaultDateFormat} setting in [[%SCRIPTURLPATH{"configure"}%][configure]] 
     7      * expands to %GMTIME% 
     8   * Supported special format tokens: 
     9     | *Token:* | *Unit:* | *Example* | 
     10     | =$seconds= | seconds | 59 | 
     11     | =$minutes= | minutes | 59 | 
     12     | =$hours= | hours | 23 | 
     13     | =$day= | day of month | 31 | 
     14     | =$wday= | day of the Week (Sun, Mon, Tue, Wed, Thu, Fri, Sat) | Thu | 
     15     | =$dow= | day of the week (Sun = 0) | 2  | 
     16     | =$week= | number of week in year (ISO 8601) | 34 | 
     17     | =$month= | short name of month | Dec | 
     18     | =$mo= | 2 digit month | 12 | 
     19     | =$year= | 4 digit year | 1999 | 
     20     | =$ye= | 2 digit year | 99 | 
     21     | =$tz= | either "GMT" (if set to gmtime), or "Local" (if set to servertime) | GMT | 
     22     | =$iso= | ISO format timestamp | %GMTIME{"$iso"}% | 
     23     | =$rcs= | RCS format timestamp | %GMTIME{"$rcs"}% | 
     24     | =$http= | E-mail & http format timestamp | %GMTIME{"$http"}% | 
     25     | =$epoch= | Number of seconds since 00:00 on 1st January, 1970 | %GMTIME{"$epoch"}% | 
     26   * Tokens can be shortened to 3 characters 
     27   * Example: =%<nop>GMTIME{"$day $month, $year - $hour:$min:$sec"}%= expands to =%GMTIME{"$day $month, $year - $hour:$min:$sec"}%= 
    828   * __%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="#"}%VarGMTIME2][GMTIME{"format"}]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSERVERTIME][SERVERTIME]] 
    10  
     29   * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarGMTIME][GMTIME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarREVINFO][REVINFO]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSERVERTIME][SERVERTIME]] 
  • trunk/core/lib/Foswiki/Contrib/core/MANIFEST

    r1285 r1287  
    190190data/System/VarDATE.txt 0644 
    191191data/System/VarDISPLAYTIME.txt 0644 
    192 data/System/VarDISPLAYTIME2.txt 0644 
    193192data/System/VarEDITACTION.txt 0644 
    194193data/System/VarENCODE.txt 0644 
     
    199198data/System/VarFORMFIELD.txt 0644 
    200199data/System/VarGMTIME.txt 0644 
    201 data/System/VarGMTIME2.txt 0644 
    202200data/System/VarGRAY.txt 0644 
    203201data/System/VarGREEN.txt 0644 
Note: See TracChangeset for help on using the changeset viewer.