mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 07:28:19 +01:00
Use local timezone for download sections
This commit is contained in:
parent
1799a6ae36
commit
fdb9aaf416
|
@ -331,7 +331,7 @@ def parse_timestamp(x):
|
|||
if re.match(r'[\d:]+', x):
|
||||
return parse_duration(x)
|
||||
|
||||
return datetime_from_str(x, precision='second').timestamp()
|
||||
return datetime_from_str(x, precision='second', use_utc=False).timestamp()
|
||||
|
||||
chapters, ranges = [], []
|
||||
for regex in value or []:
|
||||
|
|
Loading…
Reference in New Issue
Block a user