Fixed #6345 -- Django supports week numbers all the way up to 53, not just 23.

Thanks, djoume.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2008-01-09 07:32:05 +00:00
parent f0b14067db
commit 3760e7a1e0
1 changed files with 1 additions and 1 deletions

View File

@ -953,7 +953,7 @@ Available format strings:
U Not implemented. U Not implemented.
w Day of the week, digits without ``'0'`` (Sunday) to ``'6'`` (Saturday) w Day of the week, digits without ``'0'`` (Sunday) to ``'6'`` (Saturday)
leading zeros. leading zeros.
W ISO-8601 week number of year, with ``1``, ``23`` W ISO-8601 week number of year, with ``1``, ``53``
weeks starting on Monday. weeks starting on Monday.
y Year, 2 digits. ``'99'`` y Year, 2 digits. ``'99'``
Y Year, 4 digits. ``'1999'`` Y Year, 4 digits. ``'1999'``