Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

created/modified date expected in ISO8601 format #206

Open
wheresalice opened this issue Sep 19, 2023 · 1 comment
Open

created/modified date expected in ISO8601 format #206

wheresalice opened this issue Sep 19, 2023 · 1 comment

Comments

@wheresalice
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants