summaryrefslogtreecommitdiffstats
path: root/yt_dlp/utils
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:07:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:07:51 +0000
commit3278ab0765a50bc8a4716ce5c0b3aa7015a3e3d5 (patch)
tree65228f3cad4dcb6dcf7138ebdc80329c966010d3 /yt_dlp/utils
parentReleasing progress-linux version 2024.07.25-1~progress7.99u1. (diff)
downloadyt-dlp-3278ab0765a50bc8a4716ce5c0b3aa7015a3e3d5.tar.xz
yt-dlp-3278ab0765a50bc8a4716ce5c0b3aa7015a3e3d5.zip
Merging upstream version 2024.08.01.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'yt_dlp/utils')
-rw-r--r--yt_dlp/utils/_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/utils/_utils.py b/yt_dlp/utils/_utils.py
index 3e3b285..0d3e707 100644
--- a/yt_dlp/utils/_utils.py
+++ b/yt_dlp/utils/_utils.py
@@ -1217,7 +1217,7 @@ def unified_timestamp(date_str, day_first=True):
return None
date_str = re.sub(r'\s+', ' ', re.sub(
- r'(?i)[,|]|(mon|tues?|wed(nes)?|thu(rs)?|fri|sat(ur)?)(day)?', '', date_str))
+ r'(?i)[,|]|(mon|tues?|wed(nes)?|thu(rs)?|fri|sat(ur)?|sun)(day)?', '', date_str))
pm_delta = 12 if re.search(r'(?i)PM', date_str) else 0
timezone, date_str = extract_timezone(date_str)