Closed ricky-crichq closed 4 years ago
Forgot to add... this is pretty easy to reproduce, if you checkout the current master and change your local machines system time to be western states somewhere and then New Zealand time zone. The tests will pass when set to US and then fail when set to NZ.
Checking out this code and running the tests should pass for both time zones.
@ricky-crichq: I ported your change for the required Google API to #42
Date.today
respects the system time zone when we should be using UTC. This change returns the current day in the UTC time zone.Candy Check issue: https://github.com/jnbt/candy_check/issues/20