Prechádzať zdrojové kódy

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

add abbreviated weekday to timestamp format, fixes #496
TW 9 rokov pred
rodič
commit
0f02513410
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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):