[drtv] Allow fractional timestamps (Fixes #4059)
This commit is contained in:
parent
50c8266ef0
commit
6ad4013d40
3 changed files with 5 additions and 7 deletions
|
@ -289,6 +289,7 @@ class TestUtil(unittest.TestCase):
|
|||
self.assertEqual(parse_iso8601('2014-03-23T23:04:26+0100'), 1395612266)
|
||||
self.assertEqual(parse_iso8601('2014-03-23T22:04:26+0000'), 1395612266)
|
||||
self.assertEqual(parse_iso8601('2014-03-23T22:04:26Z'), 1395612266)
|
||||
self.assertEqual(parse_iso8601('2014-03-23T22:04:26.1234Z'), 1395612266)
|
||||
|
||||
def test_strip_jsonp(self):
|
||||
stripped = strip_jsonp('cb ([ {"id":"532cb",\n\n\n"x":\n3}\n]\n);')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue