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

Fix date handling #113

Closed
wants to merge 5 commits into from
Closed

Conversation

jcaron23
Copy link
Contributor

Make a difference between the input date format (as provided in start/end to createEvent) and the output date format (as included in the output):

  • input can be local or utc
  • output can be local (floating) or utc

Update tests
Update documentation

This fixes the issues introduced by #98 which broke backwards compatibility and conformance with the documentation, as it started interpreting the values passed to start and end as UTC when the documentation explicitly stated they are local time (and previous versions worked like that), while giving the option of picking other behaviours if needed.

Make a difference between the input date format (as provided to
start/end) and the output date format (as included in the output)
- input can be local or utc
- output can be local (floating) or utc

Update tests
Update documentation
@rishanshah rishanshah mentioned this pull request Jul 1, 2019
@adamgibbons
Copy link
Owner

Looking at this asap - thanks for the work!

@adamgibbons
Copy link
Owner

@jcaron23 travail formidable, je vous en suis reconnaissant!

Pushed this to a local branch to resolve merge conflicts #115

@adamgibbons adamgibbons closed this Jul 4, 2019
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.

2 participants