google / cctz

CCTZ is a C++ library for translating between absolute and civil times using the rules of a time zone.
Apache License 2.0
597 stars 166 forks source link

test: trim the kTimeZoneNames[] lists to "real" zones #276

Closed devbww closed 1 year ago

devbww commented 1 year ago

Debian/Trixie has split the zoneinfo files into two packages: "tzdata" and "tzdata-legacy", the latter of which may not be installed.

To facilitate testing in a Debian "tzdata"-only environment, lets trim the kTimeZoneNames[] lists to only contain zones from that package.

Aside: Even so, "testdata/zoneinfo" will continue to contain all the backward/backzone zones.

Fixes #274.