aboutsummaryrefslogtreecommitdiffstats
path: root/pyinst.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyinst.py')
-rw-r--r--pyinst.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pyinst.py b/pyinst.py
index 84b887134..199f0734f 100644
--- a/pyinst.py
+++ b/pyinst.py
@@ -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: