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

Due to YAML formatting, there's always a second push to index #12

Open
amis92 opened this issue Jul 11, 2020 · 0 comments
Open

Due to YAML formatting, there's always a second push to index #12

amis92 opened this issue Jul 11, 2020 · 0 comments

Comments

@amis92
Copy link
Member

amis92 commented Jul 11, 2020

The issue it in YAML conversion of DateTime(Offset) first being serialized with the Z timezone indication when taken directly from JSON, and then after reading from YAML and resaving it, serialized as timezone offset +0000.

The easiest solution right now would be round-tripping the yaml on save:

  • save yaml
  • read yaml again and re-save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant