Leading 0s in front matter timestamp

I noticed that some of my posts were not posting. It has to do with the front matter timestamp.

This was the auto generated timestamp:

date: 2022-09-10T12:20:20-04:00

I changed it to this (reflecting that I wanted it to be from the day prior):

date: 2022-09-9T12:20:20-04:00

It would not actually post until I added a leading 0 like this:

date: 2022-09-09T12:20:20-04:00

Is that normal behavior that the timestamp must have leading zeros or is this a bug?

Yes.

No.

Thank you for clearing that up.

https://en.wikipedia.org/wiki/ISO_8601

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.