diff --git a/hyde/ext/plugins/git.py b/hyde/ext/plugins/git.py index 24c0285..be86bac 100644 --- a/hyde/ext/plugins/git.py +++ b/hyde/ext/plugins/git.py @@ -47,7 +47,9 @@ class GitDatesPlugin(Plugin): continue if created == "git": created = parse(commits[-1].strip()) + created = created.replace(tzinfo=None) resource.meta.created = created if modified == "git": modified = parse(commits[0].strip()) + modified = modified.replace(tzinfo=None) resource.meta.modified = modified