Ticket #3311: naturalday_docs_r4537.diff
File naturalday_docs_r4537.diff, 658 bytes (added by , 18 years ago) |
---|
-
add_ons.txt
130 130 131 131 You can pass in either an integer or a string representation of an integer. 132 132 133 naturalday 134 ---------- 135 136 Converts a date to natural string, if it's today, tomorrow or yesterday 137 138 Examples: 139 140 Today is 17 Feb 2007 141 * ``16 Feb 2007`` becomes ``yesterday`` 142 * ``17 Feb 2007`` becomes ``today`` 143 * ``18 Feb 2007`` becomes ``tomorrow`` 144 * ``15 Feb 2007`` becomes whatever `DATE_FORMAT`_ specifies 145 146 .. _DATE_FORMAT: ../settings/#date_format 147 133 148 flatpages 134 149 ========= 135 150