]> jfr.im git - yt-dlp.git/blobdiff - pyinst.py
[rcs] fixed coding conventions
[yt-dlp.git] / pyinst.py
index 84b88713443afb3137d7a6bac5f1a783f606abf8..199f0734fd23cab2818883cf0fae7c71cf2d18cf 100644 (file)
--- a/pyinst.py
+++ b/pyinst.py
@@ -22,7 +22,9 @@
 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: