소스 검색

fix datetime format for webdav dump

Come 8 년 전
부모
커밋
f81bf3ff0d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tracim/tracim/lib/daemons.py

+ 1 - 1
tracim/tracim/lib/daemons.py 파일 보기

289
             dump_file = '{0}/{1}_{2}.yml'.format(
289
             dump_file = '{0}/{1}_{2}.yml'.format(
290
                 dump_to_path,
290
                 dump_to_path,
291
                 '{0}_{1}'.format(
291
                 '{0}_{1}'.format(
292
-                    datetime.utcnow().strftime('%Y-%m-%d_%H-%I-%S'),
292
+                    datetime.utcnow().strftime('%Y-%m-%d_%H-%M-%S'),
293
                     int(round(time.time() * 1000)),
293
                     int(round(time.time() * 1000)),
294
                 ),
294
                 ),
295
                 self.method.decode('utf-8'),
295
                 self.method.decode('utf-8'),