diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2009-05-08 13:39:37 +0000 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2009-05-08 13:39:37 +0000 |
| commit | 2af75b485db15a8494b040aa04337c052b896cca (patch) | |
| tree | fc4f74a3940a645a8915160cf27f384d55b7f29b /docs | |
| parent | f7d01c49e95a9ed25dd75e6b3d4c063dff58e23a (diff) | |
Fixed #10825: fixed the 'U' format code to dateformat (and the date/now filter/tag). Thanks to gsong and mir.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/templates/builtins.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index f4e49a9f52..e06d28db33 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -506,7 +506,8 @@ Available format strings: month, 2 characters. t Number of days in the given month. ``28`` to ``31`` T Time zone of this machine. ``'EST'``, ``'MDT'`` - U Not implemented. + U Seconds since the Unix Epoch + (January 1 1970 00:00:00 UTC). w Day of the week, digits without ``'0'`` (Sunday) to ``'6'`` (Saturday) leading zeros. W ISO-8601 week number of year, with ``1``, ``53`` |
