Mark Mentovai 0ff46a4e60 Improve SystemSnapshotMac::TimeZone()’s computation of UTC offsets.
In locations that observe daylight saving time, this method now probes
different times to determine the offset when DST observance is (or is
not) in effect. This replaces a hard-coded one-hour offset, accounting
for Lord Howe Island, Australia, which is at a 30-minute offset.

TEST=snapshot_test SystemSnapshotMacTest.TimeZone
R=rsesek@chromium.org

Review URL: https://codereview.chromium.org/626093005
2014-10-03 18:40:09 -04:00
..
2014-10-02 17:09:37 -04:00
2014-10-02 17:09:37 -04:00
2014-10-02 17:09:37 -04:00
2014-10-03 14:57:07 -04:00
2014-10-03 14:57:07 -04:00
2014-10-02 17:09:37 -04:00
2014-10-02 17:09:37 -04:00
2014-10-02 17:09:37 -04:00
2014-10-03 14:57:07 -04:00
2014-10-02 17:09:37 -04:00
2014-10-02 17:09:37 -04:00