• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

unicode-org / icu4x / 16491128682 / 1
73%
main: 73%

Build:
DEFAULT BRANCH: main
Ran 24 Jul 2025 08:06AM UTC
Files 981
Run time 38s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Jul 2025 07:55AM UTC coverage: 72.761% (+0.01%) from 72.75%
16491128682.1

push

github

web-flow
Disambiguate inconsistent metazones (#6755)

This PR introduces new logic to discriminate DST differences within
metazones for the generic non-location format. It extends the time zone
periods data struct to keep track of which timezone is the "golden" zone
for the metazone, and then checks whether the offsets used by the zone
match the golden zone. There are two directions where they could
disagree:
* The golden zone uses DST, the zone doesn't (e.g. `America/Phoenix` in
`America_Mountain`, `Australia/Brisbane` in `Australia_Eastern`, etc.).
In that case we use (\*drumm roll\*) generic partial location ("Mountain
Time (Phoenix)", "Australian Eastern Time (Brisbane)"). I would actually
prefer to use the standard name here ("Mountain Standard Time",
"Australian Eastern Standard Time"), but those aren't currently loaded
for the generic non-location format (they are for some zones, but only
those that don't have a generic name,
https://github.com/unicode-org/icu4x/pull/6115). It should be noted that
this is not how the generic partial location format is defined in LDML:
we only disambiguate if the offsets that are in use differ, LDML
disambiguates *everything* that's not the golden zone for the user's
locale (each region has it's own golden zone).
* The golden zone doesn't use DST, but the zone does (e.g.
`Europe/London` in the `GMT` metazone). In that case, we fall back to
the location format ("UK Time"), because, unlike in the first case,
during DST the zone is on a time that the metazone never uses.

This also introduces a case for the specific non-location format:
* The golden zone doesn't use DST, but the daylight name is requested.
Even if CLDR has a daylight name here (I think only Namibia right now),
this is probably a CLDR invention, so don't use it and fall back to the
specific location format ("Namibia Daylight Time")

59743 of 82108 relevant lines covered (72.76%)

456136.23 hits per line

Source Files on job 16491128682.1
  • Tree
  • List 981
  • Changed 11
  • Source Changed 9
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16491128682
  • 32533619 on github
  • Prev Job for on main (#16480602489.1)
  • Next Job for on main (#16503205186.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc