Skip to content

Commit df046f1

Browse files
changed timestamp format to match the design of rsnapshot 1.4.2
1 parent 6075e8f commit df046f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rsnapshot-once.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def logf(logstring, logfile=None, prefix=""):
6868

6969
def logft(logstring, logfile=None, prefix=""):
7070
'''Logs with timestamp'''
71-
logstring = strftime("[%d/%b/%Y:%H:%M:%S] ") + logstring
71+
logstring = strftime("[%Y-%M-%dT%H:%M:%S] ") + logstring
7272
logf(logstring, logfile, prefix)
7373
return True
7474

0 commit comments

Comments
 (0)