-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
time.Format - timezone details missing with time_full and time_long with TOML dates #8895
Comments
I suspect this is a duplicate of #8891 |
Includes fix for #8891. |
`go-toml/v2`'s unmarshaler does not specify zone name even if value has offset explicitly. To make time-formatting behaviour consistent, convert them into string in hugo. Close gohugoio#8895
`go-toml/v2`'s unmarshaler does not specify zone name even if value has offset explicitly. To make time-formatting behaviour consistent, convert them into string in hugo. Close #8895
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. |
I'm reopening this as I tried to add the above as a test case, but it fails. I have removed the patch that was supposed to fix this, as I didn't understand it and it came without a test case. Note that I'm not sure this should/could be fixed:
|
This issue title is... terrible.
content/tests/pass.md
content/tests/fail.md
{{ .Date | time.Format ":time_full" }}
{{ .Date | time.Format ":time_long" }}
The text was updated successfully, but these errors were encountered: