Customizing input date format in frontmatter

Hi,

is it possible to customize the input date format used in frontmatter? I am not referring to the date format displayed by the rendered pages but the format used to specify the date in frontmatter, more specifically to set the dates of my posts as ‘2019.11.10 09:00:00’ as opposed to ‘2019-11-10 09:00:00’.

Thanks in advance!

P.S.: The reason for this (other than personal preference) is that I am using gollum (the wiki engine) to edit Hugo’s markdown files and it breaks when I use a format such as ‘2019-11-10 09:00:00’. The format above works.

1 Like

A solution to my problem is to wrap the time in single quotes (’). I’m using the same format (‘2019-11-10 09:00:00’ ) but once I add the quotes both Gollum and Hugo are able to parse it properly, example:
date: ‘2019-11-10 09:00:00’
It’s not quite what I asked for but solves the same problem.