Commit b6335bf7 authored by Laurence Rowe's avatar Laurence Rowe

Fix test. According to http://en.wikipedia.org/wiki/ISO_8601

If no time zone information is given with a time, the time zone is assumed to be in some conventional local time zone.
parent 85c5932c
...@@ -265,7 +265,7 @@ class DateTimeTests(unittest.TestCase): ...@@ -265,7 +265,7 @@ class DateTimeTests(unittest.TestCase):
ref1 = DateTime('2002/5/2 8:00am US/Eastern') ref1 = DateTime('2002/5/2 8:00am US/Eastern')
ref2 = DateTime('2006/11/6 10:30 UTC') ref2 = DateTime('2006/11/6 10:30 UTC')
ref3 = DateTime('2004/06/14 14:30:15 GMT-3') ref3 = DateTime('2004/06/14 14:30:15 GMT-3')
ref4 = DateTime('2006/01/01 UTC') ref4 = DateTime('2006/01/01')
ref5 = DateTime('2002/5/2 8:00am GMT') ref5 = DateTime('2002/5/2 8:00am GMT')
# Basic tests # Basic tests
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment