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:
commit
0f02513410
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue