mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
datetime updated.
This commit is contained in:
parent
93721ed09c
commit
1f6cf75488
3 changed files with 9 additions and 3 deletions
|
@ -22,7 +22,9 @@
|
||||||
if len(_OLD_VERSION) > 1:
|
if len(_OLD_VERSION) > 1:
|
||||||
old_rev = _OLD_VERSION[1]
|
old_rev = _OLD_VERSION[1]
|
||||||
|
|
||||||
ver = f'{datetime.today():%Y.%m.%d}'
|
now = datetime.now()
|
||||||
|
# ver = f'{datetime.today():%Y.%m.%d}'
|
||||||
|
ver = now.strftime("%Y.%m.%d")
|
||||||
rev = ''
|
rev = ''
|
||||||
|
|
||||||
if old_ver == ver:
|
if old_ver == ver:
|
||||||
|
|
|
@ -22,7 +22,9 @@
|
||||||
if len(_OLD_VERSION) > 1:
|
if len(_OLD_VERSION) > 1:
|
||||||
old_rev = _OLD_VERSION[1]
|
old_rev = _OLD_VERSION[1]
|
||||||
|
|
||||||
ver = f'{datetime.today():%Y.%m.%d}'
|
now = datetime.now()
|
||||||
|
# ver = f'{datetime.today():%Y.%m.%d}'
|
||||||
|
ver = now.strftime("%Y.%m.%d")
|
||||||
rev = ''
|
rev = ''
|
||||||
|
|
||||||
if old_ver == ver:
|
if old_ver == ver:
|
||||||
|
|
|
@ -15,7 +15,9 @@
|
||||||
if len(_OLD_VERSION) > 1:
|
if len(_OLD_VERSION) > 1:
|
||||||
old_rev = _OLD_VERSION[1]
|
old_rev = _OLD_VERSION[1]
|
||||||
|
|
||||||
ver = f'{datetime.today():%Y.%m.%d}'
|
now = datetime.now()
|
||||||
|
# ver = f'{datetime.today():%Y.%m.%d}'
|
||||||
|
ver = now.strftime("%Y.%m.%d")
|
||||||
rev = ''
|
rev = ''
|
||||||
|
|
||||||
if old_ver == ver:
|
if old_ver == ver:
|
||||||
|
|
Loading…
Reference in a new issue