Browse Source

datetime updated.

tags/2020.10.24-6
Unknown 1 year ago
parent
commit
1f6cf75488
3 changed files with 9 additions and 3 deletions
  1. +3
    -1
      pyinst.py
  2. +3
    -1
      pyinst32.py
  3. +3
    -1
      scripts/update-version.py

+ 3
- 1
pyinst.py 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:


+ 3
- 1
pyinst32.py 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:


+ 3
- 1
scripts/update-version.py 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:


Loading…
Cancel
Save