Преглед изворни кода

fix datetime format for webdav dump

Come пре 7 година
родитељ
комит
f81bf3ff0d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      tracim/tracim/lib/daemons.py

+ 1 - 1
tracim/tracim/lib/daemons.py Прегледај датотеку

@@ -289,7 +289,7 @@ class HTTPRequest(BaseHTTPRequest):
289 289
             dump_file = '{0}/{1}_{2}.yml'.format(
290 290
                 dump_to_path,
291 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 293
                     int(round(time.time() * 1000)),
294 294
                 ),
295 295
                 self.method.decode('utf-8'),