oleeskild / digitalgarden

275 stars 158 forks source link

created/modified date expected in ISO8601 format #206

Open wheresalice opened 11 months ago

wheresalice commented 11 months ago

The created and modified dates are expected to be in ISO8601 format in src/site/_includes/components/timestamps.njk

The Templater plugin defaults to "YYYY-MM-DD HH:mm" for file creation datetime

This means that all of my pages currently render with Invalid DateTime

I can go back and fix all of my dates to be ISO8601 format, and also update my templater code, but it feels like I shouldn't have to. It also feels like this expectation of ISO8601 format should be documented somewhere

I've raised this ticket against this repo since that's where the date parsing is failing. But the proper fix might be to update both repos in order to make this configurable.

wangzhankun commented 9 months ago

Hello, have you solved the problem? I have the familar issue #236