diff options
author | Philipp Hagemeister <[email protected]> | 2014-02-09 18:09:57 +0100 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2014-02-09 18:09:57 +0100 |
commit | 026fcc04956f2077a50cd4b4e9b87f45d2bcddea (patch) | |
tree | c8793f94bd3ecbe1f3af8192f2f451ee167465b8 /test/test_utils.py | |
parent | 81c2f20b5386d89a62dc27293654d75b77f47473 (diff) | |
download | youtube-dl-026fcc04956f2077a50cd4b4e9b87f45d2bcddea.tar.gz youtube-dl-026fcc04956f2077a50cd4b4e9b87f45d2bcddea.zip |
Fix #2355 (date parsing with dashes)
Diffstat (limited to 'test/test_utils.py')
-rw-r--r-- | test/test_utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_utils.py b/test/test_utils.py index c68e0e968..97c408ebf 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -127,6 +127,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') def test_find_xpath_attr(self): testxml = u'''<root> |