chg: Better timestamp (ISO 8601)

This commit is contained in:
Sayantan Santra 2023-08-11 00:13:49 -05:00
parent 37b4d1e172
commit a80d769567
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -84,7 +84,7 @@ appstate = {}
# Get a timestamp # Get a timestamp
time = datetime.now() time = datetime.now()
appstate['timestamp'] = time.strftime('%Y%m%d%H%M%S') appstate['timestamp'] = time.strftime('%Y-%m-%dT%H:%M:%SZ')
# Read arguments # Read arguments
try: try: