Skip to content

Conversation

reenjii
Copy link

@reenjii reenjii commented Jul 4, 2017

Time zone in time format for JSON (un)marshaling is wrong.
All dates used to be parsed in UTC.
See numeric time zone offsets in: https://golang.org/pkg/time/#pkg-constants

I also improved error management when parsing dates so that when an invalid date is encountered, the actual parsing error is returned.

Implemented tests for dates with time zone in test set.

Time zone in time format for JSON (un)marshaling is wrong.
All dates used to be parsed in UTC.
See numeric time zone offsets in: https://golang.org/pkg/time/#pkg-constants
@fmpwizard
Copy link
Contributor

If you close and reopen the PR, travis will rerun this build and thanks to #462 , your PR should pass all tests on all mongodb versions

@reenjii reenjii closed this Jul 21, 2017
@reenjii reenjii reopened this Jul 21, 2017
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