1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-07 06:59:38 +00:00

add abbreviated weekday to timestamp format, fixes #496

This commit is contained in:
Thomas Waldmann 2016-01-11 23:31:24 +01:00
parent c5dcf46d44
commit e5c29bd145

View file

@ -462,7 +462,7 @@ def dir_is_tagged(path, exclude_caches, exclude_if_present):
def format_time(t):
"""use ISO-8601 date and time format
"""
return t.strftime('%Y-%m-%d %H:%M:%S')
return t.strftime('%a, %Y-%m-%d %H:%M:%S')
def format_timedelta(td):