summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAgathe Porte <microjoe@microjoe.org>2017-09-02 21:52:28 +0200
committerAgathe Porte <microjoe@microjoe.org>2017-09-02 21:52:28 +0200
commitc83e0dedf1f003cb3cfd349f7116959f8281e945 (patch)
treed89a94965c9769f3cf4ffaf6b7858843f1cf5b91
parent41fbcd99201301836bbaa7b4d1e639dbf737946d (diff)
downloadpelican-gen-date-c83e0dedf1f003cb3cfd349f7116959f8281e945.tar.gz
pelican-gen-date-c83e0dedf1f003cb3cfd349f7116959f8281e945.zip
Test
-rw-r--r--__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/__init__.py b/__init__.py
index 2d6e837..40c4916 100644
--- a/__init__.py
+++ b/__init__.py
@@ -14,7 +14,7 @@ class GenDate:
def defer_process(self):
"""Check and return git describe value."""
- return datetime.datetime.now()
+ return str(datetime.datetime.now())
def initialize(gen):