diff --git a/plugins/gfm.py b/plugins/gfm.py index 07ec49b..c002ee4 100644 --- a/plugins/gfm.py +++ b/plugins/gfm.py @@ -165,8 +165,8 @@ def read_source(self, source_path): name = match.group(1).strip().lower() if name != 'slug': value = match.group(2).strip() - if name == 'date': - value = pelican.utils.get_date(value) + # Ensure the correct types are used + value = self.process_metadata(name, value) metadata[name] = value #if name != 'title': # print 'META:', name, value