summaryrefslogtreecommitdiff
path: root/django/utils/dateformat.py
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 /django/utils/dateformat.py
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 'django/utils/dateformat.py')
-rw-r--r--django/utils/dateformat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/dateformat.py b/django/utils/dateformat.py
index 13cc2c7a81..efec5c35fe 100644
--- a/django/utils/dateformat.py
+++ b/django/utils/dateformat.py
@@ -128,7 +128,7 @@ class DateFormat(TimeFormat):
ISO 8601 Format
Example : '2008-01-02T10:30:00.000123'
"""
- return self.data.isoformat(' ')
+ return self.data.isoformat()
def d(self):
"Day of the month, 2 digits with leading zeros; i.e. '01' to '31'"