1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-21 07:13:15 +00:00

datetime updated.

This commit is contained in:
Unknown 2020-09-23 05:19:38 +02:00
parent 93721ed09c
commit 1f6cf75488
3 changed files with 9 additions and 3 deletions

View file

@ -22,7 +22,9 @@ old_rev = ''
if len(_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 = ''
if old_ver == ver:

View file

@ -22,7 +22,9 @@ old_rev = ''
if len(_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 = ''
if old_ver == ver:

View file

@ -15,7 +15,9 @@ old_rev = ''
if len(_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 = ''
if old_ver == ver: