summaryrefslogtreecommitdiff
path: root/tests/regressiontests/dateformat
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2010-05-16 15:54:10 +0000
committerJannis Leidel <jannis@leidel.info>2010-05-16 15:54:10 +0000
commit34ddcd9939568e7d19a0059647a9faaf36972083 (patch)
tree6cc5aa4e49849c5fa4076d00a71dc9ecff7688d9 /tests/regressiontests/dateformat
parentfa14e3127d64c9e5995a71977220516e1181a0f5 (diff)
Fixed #13547 -- Made sure the ISO 8601 date formatting introduced in r12058 uses "T" as the separator between the date and the time value to increase real world usefulness.
While the ISO standard permits the use of a space instead of "T" for readability, it does have an impact on standards like HTML5 which rely on specific rules made in RFC 3339. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13266 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 42c582cd0f..545b17d377 100644
--- a/tests/regressiontests/dateformat/tests.py
+++ b/tests/regressiontests/dateformat/tests.py
@@ -42,7 +42,7 @@ class DateFormatTests(TestCase):
timestamp = datetime.datetime(2008, 5, 19, 11, 45, 23, 123456)
self.assertEquals(dateformat.format(my_birthday, 'A'), u'PM')
- self.assertEquals(dateformat.format(timestamp, 'c'), u'2008-05-19 11:45:23.123456')
+ self.assertEquals(dateformat.format(timestamp, 'c'), u'2008-05-19T11:45:23.123456')
self.assertEquals(dateformat.format(my_birthday, 'd'), u'08')
self.assertEquals(dateformat.format(my_birthday, 'j'), u'8')
self.assertEquals(dateformat.format(my_birthday, 'l'), u'Sunday')