-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Date parse issue #28
Comments
Currently hexo will transform xml-formatted time based on |
hexo-front-matter/lib/front_matter.js Line 60 in 6951687
hexo-front-matter/lib/front_matter.ts Line 58 in 55e50e5
this code add an unnecessary time zone offset |
This current behaviour is particularly annoying for teams with people working in multiple timezones, because the dates in the generated output change depending on the timezone of the team member generating the docs, which then appear as spurious changes in downstream processing of the output. If it's not OK to change this behaviour across the board, perhaps there could be a |
Did you set |
Here is my front matter
I want the date is exact
2020-02-09T13:50:14.098Z
, but the result of parse is2020-02-09T05:50:14.098Z
.I think ISO time is more precise.
The text was updated successfully, but these errors were encountered: