better date formatting in log file
This commit is contained in:
parent
a8a2009923
commit
3395739932
|
@ -80,7 +80,7 @@ else:
|
|||
def current_val():
|
||||
result = current_val_helper()
|
||||
if log_file:
|
||||
print('{},{}'.format(datetime.datetime.now(datetime.timezone.utc), result), file=log_file)
|
||||
print('{},{}'.format(datetime.datetime.now().strftime("%Y-%m-%dT%H:%M:%S"), result), file=log_file)
|
||||
return result
|
||||
|
||||
if args.final:
|
||||
|
|
Loading…
Reference in a new issue