summaryrefslogtreecommitdiff
path: root/update-windows-installer.py
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2024-07-17 23:23:22 -0700
committerpommicket <pommicket@gmail.com>2024-07-17 23:23:22 -0700
commitd37fe5d5d27d91a28776baf2593fefc0b749cc85 (patch)
tree219361827d17342bb1eaa11081a845b56af8bd0d /update-windows-installer.py
parent4d760a552b2c1143c1bd0a8b055b02892daab60e (diff)
Bump version, update to latest pcre22.7.2
Diffstat (limited to 'update-windows-installer.py')
-rwxr-xr-xupdate-windows-installer.py4
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()