mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-01-09 17:24:10 +01:00
Use local timezone for download sections
This commit is contained in:
parent
1799a6ae36
commit
fdb9aaf416
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ def validate_options(opts):
|
|||
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