Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix skipping unused portions in TimeZoneInfo::Load() for version 1 zo…
…nefiles. (google#236) In theory, leap-second record of version 1 zonefiles is 4 + 4 bytes per record. https://www.rfc-editor.org/rfc/rfc8536.html#section-3.2 In practice, this commit won't make any difference because we return early at line 437 if hdr.leapcnt != 0. Co-authored-by: Shuo Chen <[email protected]>
- Loading branch information