DescriptionImprove 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
Committed: https://chromium.googlesource.com/crashpad/crashpad/+/0ff46a4e602cd42de5cc5e9da21e1b69387a9f16
Patch Set 1 #
Total comments: 1
Messages
Total messages: 4 (1 generated)
|