Ticket #4522: 4522.patch

File 4522.patch, 800 bytes (added by Chris Beaven, 17 years ago)
  • docs/templates.txt

     
    950950date
    951951~~~~
    952952
    953 Formats a date according to the given format (same as the ``now`` tag).
     953Formats a date according to the given format (same as the now_ tag).
    954954
    955955default
    956956~~~~~~~
     
    11791179time
    11801180~~~~
    11811181
    1182 Formats a time according to the given format (same as the ``now`` tag).
     1182Formats a time according to the given format (same as the now_ tag).
    11831183
     1184Note that unlike the ``now`` tag, the ``time`` filter only accepts parameters
     1185in the format string that refer to the *time of day*, not parameters referring
     1186to the date. For date formatting, use the `date`_ filter.
     1187
    11841188timesince
    11851189~~~~~~~~~
    11861190
Back to Top