1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-24 08:45:13 +00:00

Merge pull request #540 from ThomasWaldmann/isotimestamp-with-wkday

add abbreviated weekday to timestamp format, fixes #496
This commit is contained in:
TW 2016-01-12 19:57:14 +01:00
commit 0f02513410

View file

@ -462,7 +462,7 @@ def dir_is_tagged(path, exclude_caches, exclude_if_present):
def format_time(t): def format_time(t):
"""use ISO-8601 date and time format """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): def format_timedelta(td):