toggl/mobile — pull request #277 by roosmaa (2014-07-28 14:23:43+00:00)
Title: Correct phone time based on server time.

With every HTTP request we receive the `Date` header, from which we can determine local clock offset to proper UTC time. We hook this information into the ITimeProvider and now our app is always displaying the correct time regardless of the users phone time settings.

We use the median value of the last 21 measurements to determine the effective correction that the whole app uses.

Closes #25.