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

Time zone is ignored in some dates format with space separators #8891

Closed
malcom opened this issue Aug 14, 2021 · 2 comments
Closed

Time zone is ignored in some dates format with space separators #8891

malcom opened this issue Aug 14, 2021 · 2 comments

Comments

@malcom
Copy link

malcom commented Aug 14, 2021

On Hugo 87 some variation of RFC3339/ISO8601 dates with space separators (for better human readability) are incorrectly parsed or handled - time zone offset is ignored:

{{ "2006-01-02 15:04:05 -07:00" | dateFormat "2006-01-02T15:04:05-07:00" }}
Hugo87: 2006-01-02T15:04:05+00:00
Hugo86: 2006-01-02T15:04:05-07:00
@bep bep added this to the v0.88 milestone Aug 14, 2021
@tuziemon
Copy link

tuziemon commented Aug 15, 2021

I sent a pull request to upstream library
spf13/cast#118

@github-actions
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 Jan 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants