mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-04-01 01:40:50 +02:00
Use local timezone for download sections
This commit is contained in:
parent
1799a6ae36
commit
fdb9aaf416
@ -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…
x
Reference in New Issue
Block a user