diff options
Diffstat (limited to 'pyinst32.py')
-rw-r--r-- | pyinst32.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pyinst32.py b/pyinst32.py index eb3acb6c8..ea20a69e5 100644 --- a/pyinst32.py +++ b/pyinst32.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: |