mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-19 14:49:15 +00: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 a new issue