Skip to content

Commit

Permalink
datetime updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
blackjack4494 committed Sep 23, 2020
1 parent 93721ed commit 1f6cf75
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion pyinst.py
Expand Up @@ -22,7 +22,9 @@
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:
Expand Down
4 changes: 3 additions & 1 deletion pyinst32.py
Expand Up @@ -22,7 +22,9 @@
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:
Expand Down
4 changes: 3 additions & 1 deletion scripts/update-version.py
Expand Up @@ -15,7 +15,9 @@
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:
Expand Down

0 comments on commit 1f6cf75

Please sign in to comment.