mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-03-09 12:50:23 -05:00
grouping digits with underscores
More readable. Since Python 3.6: https://docs.python.org/3/library/functions.html#int Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
This commit is contained in:
parent
bcda6e49b0
commit
5b6ad82dae
1 changed files with 1 additions and 1 deletions
|
@ -1382,7 +1382,7 @@ def datetime_round(dt_, precision='day'):
|
|||
if precision == 'microsecond':
|
||||
return dt_
|
||||
|
||||
time_scale = 1000000
|
||||
time_scale = 1_000_000
|
||||
unit_seconds = {
|
||||
'day': 86400,
|
||||
'hour': 3600,
|
||||
|
|
Loading…
Reference in a new issue