|
@@ -47,7 +47,9 @@ class GitDatesPlugin(Plugin): |
|
|
continue |
|
|
continue |
|
|
if created == "git": |
|
|
if created == "git": |
|
|
created = parse(commits[-1].strip()) |
|
|
created = parse(commits[-1].strip()) |
|
|
|
|
|
created = created.replace(tzinfo=None) |
|
|
resource.meta.created = created |
|
|
resource.meta.created = created |
|
|
if modified == "git": |
|
|
if modified == "git": |
|
|
modified = parse(commits[0].strip()) |
|
|
modified = parse(commits[0].strip()) |
|
|
|
|
|
modified = modified.replace(tzinfo=None) |
|
|
resource.meta.modified = modified |
|
|
resource.meta.modified = modified |