From e7e56c88450544360756369e3123f611fd2d9a63 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sun, 23 May 2021 17:24:36 -0600 Subject: fix timezone --- ChangeLog | 1 + src/pyssg/rss.py | 2 +- src/pyssg/template.py | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0d741ff..e8581a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ CHANGES ======= +* fix missing ref to obj * fix bad method call * ... literally 3 commits to fix a missing obj * ACTUALLY add missing config obj lol diff --git a/src/pyssg/rss.py b/src/pyssg/rss.py index ec661bb..2aa7fb0 100644 --- a/src/pyssg/rss.py +++ b/src/pyssg/rss.py @@ -7,7 +7,7 @@ from .configuration import Configuration VERSION = importlib.metadata.version('pyssg') -DFORMAT = '%a, %d %b %Y %H:%M:%S %Z' +DFORMAT = '%a, %d %b %Y %H:%M:%S GMT' class RSSBuilder: diff --git a/src/pyssg/template.py b/src/pyssg/template.py index a407475..d62c40f 100644 --- a/src/pyssg/template.py +++ b/src/pyssg/template.py @@ -115,7 +115,7 @@ class Template(HF): os.chdir('rss') self.__write_template('rss.xml', ['\n', - '\n', + '\n', ' \n', ' $$TITLE\n', ' $$LINK\n', @@ -123,8 +123,8 @@ class Template(HF): ' SHORT DESCRIPTION.\n', ' en-us\n', ' COPYRIGHT NOTICE.\n', - ' EMAIL@EXAMPLE.ORG\n', - ' EMAIL@EXAMPLE.ORG\n', + ' EMAIL@EXAMPLE.ORG (NAME)\n', + ' EMAIL@EXAMPLE.ORG (NAME)\n', ' $$CURRENTDATE\n', ' $$CURRENTDATE\n', ' $$PYSSGVERSION\n', -- cgit v1.2.3-70-g09d2