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

Treat null dates as zero dates #12906

Closed
jmooring opened this issue Oct 6, 2024 · 0 comments · Fixed by #12907
Closed

Treat null dates as zero dates #12906

jmooring opened this issue Oct 6, 2024 · 0 comments · Fixed by #12907
Assignees
Labels

Comments

@jmooring
Copy link
Member

jmooring commented Oct 6, 2024

I implemented validation of the four predefined front matter date fields in #12877 to address #10717.

I revised the implementation in #12905 to address #12898 (blank dates).

I neglected to consider that, unlike TOML, YAML and JSON support null values.

Reference: https://discourse.gohugo.io/t/51833

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

Successfully merging a pull request may close this issue.

1 participant