Explorar o código

add abbreviated weekday to timestamp format, fixes #496

Thomas Waldmann %!s(int64=9) %!d(string=hai) anos
pai
achega
e5c29bd145
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      borg/helpers.py

+ 1 - 1
borg/helpers.py

@@ -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):