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 · 1 comment · Fixed by #12907
Closed

Treat null dates as zero dates #12906

jmooring opened this issue Oct 6, 2024 · 1 comment · Fixed by #12907
Assignees

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

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant