datetime updated.

pull/8/head
Unknown 4 years ago
parent 93721ed09c
commit 1f6cf75488

@ -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:

@ -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:

@ -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:

Loading…
Cancel
Save