--- a/buildout.cfg Wed Jan 09 12:22:00 2019 +0100
+++ b/buildout.cfg Wed Jan 09 15:44:26 2019 +0100
@@ -79,4 +79,4 @@
eggs = pyams_default_theme [test]
[versions]
-pyams_default_theme = 0.1.27
+pyams_default_theme = 0.1.27.1
--- a/docs/HISTORY.txt Wed Jan 09 12:22:00 2019 +0100
+++ b/docs/HISTORY.txt Wed Jan 09 15:44:26 2019 +0100
@@ -1,6 +1,10 @@
History
=======
+0.1.27.1
+--------
+ - added timezone in root sitemap timestamp
+
0.1.27
------
- updated gallery renderer template
--- a/setup.py Wed Jan 09 12:22:00 2019 +0100
+++ b/setup.py Wed Jan 09 15:44:26 2019 +0100
@@ -22,7 +22,7 @@
README = os.path.join(DOCS, 'README.txt')
HISTORY = os.path.join(DOCS, 'HISTORY.txt')
-version = '0.1.27'
+version = '0.1.27.1'
long_description = open(README).read() + '\n\n' + open(HISTORY).read()
tests_require = []
--- a/src/pyams_default_theme.egg-info/PKG-INFO Wed Jan 09 12:22:00 2019 +0100
+++ b/src/pyams_default_theme.egg-info/PKG-INFO Wed Jan 09 15:44:26 2019 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pyams-default-theme
-Version: 0.1.27
+Version: 0.1.27.1
Summary: PyAMS default theme
Home-page: http://hg.ztfy.org/pyams/pyams_default_theme
Author: Thierry Florac
@@ -11,6 +11,10 @@
History
=======
+ 0.1.27.1
+ --------
+ - added timezone in root sitemap timestamp
+
0.1.27
------
- updated gallery renderer template
--- a/src/pyams_default_theme/features/sitemap/__init__.py Wed Jan 09 12:22:00 2019 +0100
+++ b/src/pyams_default_theme/features/sitemap/__init__.py Wed Jan 09 15:44:26 2019 +0100
@@ -29,6 +29,7 @@
from pyams_skin.layer import IPyAMSUserLayer
from pyams_utils.list import unique_iter
from pyams_utils.registry import get_all_utilities_registered_for, get_utility
+from pyams_utils.timezone import tztime
from pyams_workflow.interfaces import IWorkflow, IWorkflowPublicationInfo
@@ -66,7 +67,7 @@
@property
def sources(self):
- timestamp = datetime.utcnow().isoformat()
+ timestamp = tztime(datetime.utcnow()).isoformat()
for tool in get_all_utilities_registered_for(IBaseSharedTool):
if not tool.shared_content_menu:
continue