Rev 411: Window's strftime doesn't support %T in http://bazaar.launchpad.net/~jameinel/loggerhead/history_db

John Arbash Meinel john at arbash-meinel.com
Wed Apr 14 18:49:17 BST 2010


At http://bazaar.launchpad.net/~jameinel/loggerhead/history_db

------------------------------------------------------------
revno: 411
revision-id: john at arbash-meinel.com-20100414174859-ta7b9sta5j3shpyj
parent: john at arbash-meinel.com-20100414170757-d88fac0am1lekqo8
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: history_db
timestamp: Wed 2010-04-14 12:48:59 -0500
message:
  Window's strftime doesn't support %T
-------------- next part --------------
=== modified file 'loggerhead/util.py'
--- a/loggerhead/util.py	2010-04-14 17:07:57 +0000
+++ b/loggerhead/util.py	2010-04-14 17:48:59 +0000
@@ -68,7 +68,7 @@
 
 def date_time(value):
     if value is not None:
-        return value.strftime('%Y-%m-%d %T')
+        return value.strftime('%Y-%m-%d %H:%M:%S')
     else:
         return 'N/A'
 



More information about the bazaar-commits mailing list