jnbt / candy_check

Check and verify in-app receipts
MIT License
125 stars 71 forks source link

Amend logic for obtaining todays date #42

Closed jnbt closed 4 years ago

jnbt commented 4 years ago

Porting the changes of @ricky-crichq to the new Google API

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

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.02%) to 98.424% when pulling 81b2e7b2fda75d503983bb47b6c16594098e76cb on fix-todays-date-always-utc into 430c2057620d7f61df898986ae0284878e81acbb on master.