Ensure Time objects have the correct timezone #2

Merged
merged 1 commit into from Dec 26, 2014

Conversation

Projects
None yet
2 participants
@joeyates
Contributor

joeyates commented Dec 21, 2014

  • the use of Time.parse in the tests means that the Time objects
    obtained have the same timezone as the local system,
  • the tests assume that the timezone in +0900 (JST),
  • this change forces the Time objects to have +0900.
Ensure Time objects have the correct timezone
* the use of Time.parse in the tests means that the Time objects
  obtained have the same timezone as the local system,
* the tests assume that the timezone in +0900 (JST),
* this change forces the Time objects to have +0900.

@y10k y10k merged commit b2aabcd into y10k:master Dec 26, 2014

@joeyates joeyates deleted the joeyates:tests_work_in_any_timezone branch Dec 26, 2014

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