mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
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
This commit is contained in:
@@ -37,7 +37,7 @@ u'th'
|
||||
u'31'
|
||||
>>> no_tz or format(my_birthday, 'T') == 'CET'
|
||||
True
|
||||
>>> no_tz or format(my_birthday, 'U') == '300531600'
|
||||
>>> no_tz or format(my_birthday, 'U') == '300315600'
|
||||
True
|
||||
>>> format(my_birthday, 'w')
|
||||
u'0'
|
||||
|
||||
Reference in New Issue
Block a user