diff options
Diffstat (limited to 'update-windows-installer.py')
-rwxr-xr-x | update-windows-installer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/update-windows-installer.py b/update-windows-installer.py index 495e032..b329b31 100755 --- a/update-windows-installer.py +++ b/update-windows-installer.py @@ -5,9 +5,9 @@ import uuid import re -from datetime import datetime +import datetime -timestamp = datetime.utcnow() +timestamp = datetime.datetime.now(datetime.UTC) # will break in 2100. FUCK YOU PEOPEL OF THE FUTURE!! version_start = '%02d.%02d.%02d' % (timestamp.year % 100, timestamp.month, timestamp.day) product_code = str(uuid.uuid4()).upper() |