mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-01-27 11:16:41 +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):
|
if re.match(r'[\d:]+', x):
|
||||||
return parse_duration(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 = [], []
|
chapters, ranges = [], []
|
||||||
for regex in value or []:
|
for regex in value or []:
|
||||||
|
|
Loading…
Reference in a new issue