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

avoid daylight saving time issue #61

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

korvent
Copy link

@korvent korvent commented Dec 7, 2015

Added test did not passed in France local time zone.
A solution is to work in UTC time, to avoid daylight saving time issue.

In France, difference between UTC time and local time is about 2 or 1 hour depending on summer or winter time (see daylight saving time : http://www.timeanddate.com/time/dst/2002.html).
Date and date-time validation failed if :
-the test date is the last day of a month;
-AND the daylight saving time occurs the last day of this month.
For example: "2002-03-31T22:00:00.00Z" in France time zone.
To avoid daylight saving time issue, date should be instanciate regardless local time zone (i.e. in UTC time).
@korvent
Copy link
Author

korvent commented Apr 25, 2016

Hi, any news about this issue ?
It does not seem to have any activity for a while there. Would you maintain Jayschema anymore ? Or should I consider migrating to another JSON schema validator ?

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

Successfully merging this pull request may close these issues.

1 participant