aboutsummaryrefslogtreecommitdiff
path: root/absl/time/internal/cctz/src/time_zone_info.cc
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2022-10-31 08:23:23 -0700
committerCopybara-Service <copybara-worker@google.com>2022-10-31 08:24:14 -0700
commit37a1aa00bbef35b6db08948ef098d1cc87fc6a5e (patch)
treef53344dfdf27392b7ecb5d4de504459c11ad0a7b /absl/time/internal/cctz/src/time_zone_info.cc
parent1db72eb03e3685742c62abea9d13ddab2adcdf01 (diff)
downloadabseil-37a1aa00bbef35b6db08948ef098d1cc87fc6a5e.tar.gz
abseil-37a1aa00bbef35b6db08948ef098d1cc87fc6a5e.tar.bz2
abseil-37a1aa00bbef35b6db08948ef098d1cc87fc6a5e.zip
Import of CCTZ from GitHub.
PiperOrigin-RevId: 485054062 Change-Id: Ieafa217b562548f8bb8dc6fc4e1e414f8ede0579
Diffstat (limited to 'absl/time/internal/cctz/src/time_zone_info.cc')
-rw-r--r--absl/time/internal/cctz/src/time_zone_info.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/time/internal/cctz/src/time_zone_info.cc b/absl/time/internal/cctz/src/time_zone_info.cc
index 8966f7ac..657fe38d 100644
--- a/absl/time/internal/cctz/src/time_zone_info.cc
+++ b/absl/time/internal/cctz/src/time_zone_info.cc
@@ -533,8 +533,8 @@ bool TimeZoneInfo::Load(ZoneInfoSource* zip) {
// Trim redundant transitions. zic may have added these to work around
// differences between the glibc and reference implementations (see
- // zic.c:dontmerge) and the Qt library (see zic.c:WORK_AROUND_QTBUG_53071).
- // For us, they just get in the way when we do future_spec_ extension.
+ // zic.c:dontmerge) or to avoid bugs in old readers. For us, they just
+ // get in the way when we do future_spec_ extension.
while (hdr.timecnt > 1) {
if (!EquivTransitions(transitions_[hdr.timecnt - 1].type_index,
transitions_[hdr.timecnt - 2].type_index)) {