소스 검색

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

add abbreviated weekday to timestamp format, fixes #496
TW 9 년 전
부모
커밋
0f02513410
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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):
 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):