-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
Respect timezone even in last modified date when timeZone
was set
#248
Labels
Comments
everpeace
changed the title
Respect timezone even when enableLastMod and dateFormat is set
Respect timezone even in last modified date when Oct 28, 2022
timeZone
was set
Makes sense to me! The time zone should be in one format for the UI anyway. I'll check what the API outputs if anything in this regard. |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
I set timezone explicitly in
config.yaml
like:Then, issue date was rendered in expected timezone (JST in this case). But, last modified date was not.
issue metadata:
rendered issue header:
rendered issue footer:
Describe the solution you'd like
A clear and concise description of what you want to happen.
If cstate prioritized backward compatibility, I would introduce
forceUTCInLastMod: true|false (default is true)
.Or, it would be fine just to remove
.UTC
part from:cstate/layouts/issues/single.html
Line 24 in 548fcb9
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
none.
The text was updated successfully, but these errors were encountered: