mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-05-30 17:26:30 +02:00
[utils] unified_timestamp
: Recognize Sunday (#10589)
Authored by: bashonly
This commit is contained in:
parent
28d485714f
commit
6daf2c27c0
2 changed files with 3 additions and 1 deletions
|
@ -444,6 +444,8 @@ class TestUtil(unittest.TestCase):
|
|||
self.assertEqual(unified_timestamp('Sep 11, 2013 | 5:49 AM'), 1378878540)
|
||||
self.assertEqual(unified_timestamp('December 15, 2017 at 7:49 am'), 1513324140)
|
||||
self.assertEqual(unified_timestamp('2018-03-14T08:32:43.1493874+00:00'), 1521016363)
|
||||
self.assertEqual(unified_timestamp('Sunday, 26 Nov 2006, 19:00'), 1164567600)
|
||||
self.assertEqual(unified_timestamp('wed, aug 16, 2008, 12:00pm'), 1218931200)
|
||||
|
||||
self.assertEqual(unified_timestamp('December 31 1969 20:00:01 EDT'), 1)
|
||||
self.assertEqual(unified_timestamp('Wednesday 31 December 1969 18:01:26 MDT'), 86)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue