Fix issue with non-matching timestamps due to local timezone.

Screencast with local timezone set to America/Los_Angeles: https://screencast.googleplex.com/cast/NjU0MDYzOTU4NzAwODUxMnxmOWJjYzI0ZS1kOA

Now we take into account the day when converting between timezones.

Fixes: 329132999
Test: npm run test:unit:ci - ran tests locally and checked winscope traces in UI with machine in the following timezones: -08:00, +01:00, +00:00, +05:30
Change-Id: Iba1c590c77e719a01cc8ffc5e6e46ae37341aecb
4 files changed