aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNaglis Jonaitis <njonaitis@gmail.com>2015-01-14 00:16:34 +0200
committerNaglis Jonaitis <njonaitis@gmail.com>2015-01-14 00:16:34 +0200
commita69801e2c6f53985acf475f391f7f7205775d631 (patch)
tree261d7583137a0c660e88aea8c81971f58da2310c /test
parent034206cec1903dc8c5829012e7130a63dc014265 (diff)
[utils] Add additional format to unified_strdate
Diffstat (limited to 'test')
-rw-r--r--test/test_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_utils.py b/test/test_utils.py
index 399cdfdbd..206760d99 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -148,6 +148,7 @@ class TestUtil(unittest.TestCase):
self.assertEqual(unified_strdate('8/7/2009'), '20090708')
self.assertEqual(unified_strdate('Dec 14, 2012'), '20121214')
self.assertEqual(unified_strdate('2012/10/11 01:56:38 +0000'), '20121011')
+ self.assertEqual(unified_strdate('1968 12 10'), '19681210')
self.assertEqual(unified_strdate('1968-12-10'), '19681210')
self.assertEqual(unified_strdate('28/01/2014 21:00:00 +0100'), '20140128')
self.assertEqual(