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

Fix raw TOML dates in where/eq #9981

Merged
merged 1 commit into from
Jun 7, 2022
Merged

Conversation

bep
Copy link
Member

@bep bep commented Jun 6, 2022

Note that this has only been a problem with "raw dates" in TOML files in /data and similar. The predefined front matter
dates .Date etc. are converted to a Go Time and has worked fine even after upgrading to v2 of the go-toml lib.

Fixes #9979

@bep bep force-pushed the fix/toml-date-eq-where-9979 branch 2 times, most recently from 8b940f9 to 69a1b52 Compare June 6, 2022 09:29
@bep bep force-pushed the fix/toml-date-eq-where-9979 branch from 69a1b52 to e09f76d Compare June 6, 2022 14:37
Note that this has only been a problem with "raw dates" in TOML files in /data and similar. The predefined front matter
dates `.Date` etc. are converted to a Go Time and has worked fine even after upgrading to v2 of the go-toml lib.

Fixes gohugoio#9979
@bep bep force-pushed the fix/toml-date-eq-where-9979 branch from e09f76d to 69c41a5 Compare June 7, 2022 07:14
@bep bep merged commit 0566bbf into gohugoio:master Jun 7, 2022
@github-actions
Copy link

github-actions bot commented Jun 8, 2023

This pull request 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 Jun 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TOML dates no longer support equality tests against now
1 participant