Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Fix test time so it will work for all timezones#36

Open
boazca wants to merge 1 commit intogoogle:masterfrom
boazca:fix-timezone-test
Open

Fix test time so it will work for all timezones#36
boazca wants to merge 1 commit intogoogle:masterfrom
boazca:fix-timezone-test

Conversation

@boazca
Copy link

@boazca boazca commented Jun 29, 2016

The test expected the date to be 1969/12/31 because that the date "new DateTime(1L)" return if your machine timezone in UTC-.. but if its UTC+.. "new DateTime(1L)" date is 1970/1/1.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant