Fix midnight determination
Midnight determination by scaling value of internal base::Time representation doesn't take in account time zones, it counts as UTC, but other time logic in local time. There is failure of test ChromeNetworkDailyDataSavingMetricsTest.PartialDayTimeChange if system time zone will overcome test time to another day (like our +4 for example). This fix make it work fine and in same way for win and others operating systems. R=bolian@chromium.org BUG= Review URL: https://codereview.chromium.org/479793002 Cr-Commit-Position: refs/heads/master@{#292589}
Showing
Please register or sign in to comment