aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-02-25 00:52:49 +0600
committerSergey M․ <dstftw@gmail.com>2016-02-25 00:52:49 +0600
commitf160785c5c5a99a2fdc4724f1f66f423cf8f6bf5 (patch)
treea74840b8487cc9d9909a2226bd91a9f949466d4a /test
parent5c0a57185cf925e22b59004150d6b00cd7fd0417 (diff)
[utils] Remove AM/PM from unified_strdate patterns
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 e6887be9f..d0736f435 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -249,6 +249,7 @@ class TestUtil(unittest.TestCase):
self.assertEqual(
unified_strdate('2/2/2015 6:47:40 PM', day_first=False),
'20150202')
+ self.assertEqual(unified_strdate('Feb 14th 2016 5:45PM'), '20160214')
self.assertEqual(unified_strdate('25-09-2014'), '20140925')
self.assertEqual(unified_strdate('UNKNOWN DATE FORMAT'), None)