changeset 1344:59220d491dc3

fix xml sitemap timestamps (now really, we need the colon in the tz)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 24 Apr 2012 23:15:56 +0200
parents 8afe9dc4547d
children e1f9d9b5da57
files MoinMoin/apps/misc/views.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/apps/misc/views.py	Tue Apr 24 23:11:47 2012 +0200
+++ b/MoinMoin/apps/misc/views.py	Tue Apr 24 23:15:56 2012 +0200
@@ -28,7 +28,7 @@
     """
     def format_timestamp(t):
         tm = time.gmtime(t)
-        return time.strftime("%Y-%m-%dT%H:%M:%S%z", tm)
+        return time.strftime("%Y-%m-%dT%H:%M:%S+00:00", tm)
 
     sitemap = []
     for rev in flaskg.storage.documents(wikiname=app.cfg.interwikiname):