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

unicode-org / icu4x / 11337372727
73%

Build:
DEFAULT BRANCH: main
Ran 15 Oct 2024 01:13AM UTC
Jobs 1
Files 967
Run time 2min
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

15 Oct 2024 01:01AM UTC coverage: 75.555% (+0.03%) from 75.525%
11337372727

push

github

web-flow
Make time zone parsing non-fallible (#5665)

Based on #5666 

Zones that are added to TZDB in the future should parse as
`Etc/Unknown`. This means every unrecognized string should parse as
`Etc/Unknown`. This then means that the `time_zone_id` field can be
non-optional, as we can always use `Etc/Unknown` as the absent value.

The `metazone_id` field on the other hand need to be double optional:
once for not-resolved, and once for no-metazone-for-zone. This change
improves error cases in datetime formatting, i.e. `Some(None)` is a
UTS-35 fallback, whereas `None` is a `MissingInputField`.

44 of 92 new or added lines in 8 files covered. (47.83%)

19 existing lines in 9 files now uncovered.

54221 of 71764 relevant lines covered (75.55%)

646186.88 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
53.33
0.0% components/datetime/src/input.rs
4
49.4
0.0% components/datetime/src/neo_marker.rs
4
90.41
15.41% components/timezone/src/time_zone.rs
8
61.29
-0.36% components/datetime/src/time_zone.rs
14
0.0
0.0% ffi/capi/src/timezone_mapper.rs
17
0.0
0.0% ffi/capi/src/timezone.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
61.29
-0.36% components/datetime/src/time_zone.rs
1
92.41
-0.22% components/datetime/src/pattern/reference/parser.rs
1
83.46
-0.28% components/timezone/src/ixdtf.rs
1
77.83
-0.43% components/datetime/src/skeleton/helpers.rs
1
90.41
15.41% components/timezone/src/time_zone.rs
1
79.76
-0.6% provider/core/src/response.rs
3
80.9
-3.37% components/timezone/src/types.rs
4
0.0
0.0% ffi/capi/src/timezone_mapper.rs
6
0.0
0.0% ffi/capi/src/timezone.rs
Jobs
ID Job ID Ran Files Coverage
1 11337372727.1 15 Oct 2024 01:13AM UTC 967
75.55
GitHub Action Run
Source Files on build 11337372727
  • Tree
  • List 967
  • Changed 319
  • Source Changed 12
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11337372727
  • 3a955564 on github
  • Prev Build on main (#11336164629)
  • Next Build on main (#11338776753)
  • 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