DescriptionFix 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=
Committed: https://crrev.com/a6f3247f1ba66550946190f7f81b7039631e4f37
Cr-Commit-Position: refs/heads/master@{#292589}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Don't use internal time representation #Messages
Total messages: 14 (0 generated)
|