lib/page.py
changeset 26 9d3beac1b196
parent 21 b05979822dee
--- a/lib/page.py	Sat Feb 07 04:44:00 2009 +0200
+++ b/lib/page.py	Sat Feb 07 04:57:22 2009 +0200
@@ -14,6 +14,7 @@
 import template
 
 from page_tree import page_tree
+import config
 
 # path to directory containing the page heirarcy
 PAGE_DIR = "pages"
@@ -106,7 +107,7 @@
         # stat
         timestamp = os.stat(self.path).st_mtime
 
-        return time.strftime("%Y/%m/%d %H:%M %Z", time.gmtime(timestamp))
+        return time.strftime(config.DATETIME_FMT, time.gmtime(timestamp))
 
 class HTMLPage (Page) :
     """