degal/format.py
changeset 77 2a53c5ade434
parent 56 80658a2eebf6
child 81 2b0b76cd8ba0
--- a/degal/format.py	Fri Jun 05 23:42:03 2009 +0300
+++ b/degal/format.py	Fri Jun 05 23:59:14 2009 +0300
@@ -28,5 +28,5 @@
         Returns a human-readable string describing the given file timestamp
     """
 
-    return datetime.fromtimestamp(ts).strftime("%Y-%m-%d %H:%M:%S")
+    return datetime.datetime.fromtimestamp(ts).strftime("%Y-%m-%d %H:%M:%S")