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 · 1 comment
Closed

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

malcom opened this issue Aug 14, 2021 · 1 comment
Milestone

Comments

@malcom
Copy link

@malcom 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 tuziemon commented Aug 15, 2021

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

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

Successfully merging a pull request may close this issue.

None yet
3 participants