summaryrefslogtreecommitdiff
path: root/tests/regressiontests/dateformat
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2009-05-08 13:39:37 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2009-05-08 13:39:37 +0000
commit2af75b485db15a8494b040aa04337c052b896cca (patch)
treefc4f74a3940a645a8915160cf27f384d55b7f29b /tests/regressiontests/dateformat
parentf7d01c49e95a9ed25dd75e6b3d4c063dff58e23a (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 'tests/regressiontests/dateformat')
-rw-r--r--tests/regressiontests/dateformat/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/dateformat/tests.py b/tests/regressiontests/dateformat/tests.py
index 481e36a7dd..d649d4789c 100644
--- a/tests/regressiontests/dateformat/tests.py
+++ b/tests/regressiontests/dateformat/tests.py
@@ -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'