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

unicode-org / icu4x / 16026358254

02 Jul 2025 01:23PM UTC coverage: 72.598% (+0.01%) from 72.586%
16026358254

push

github

web-flow
Handle ambiguous time parsing with MonthDay and YearMonth in `ixdtf` (#6717)

<!--
Thank you for your pull request to ICU4X!

Reminder: try to use [Conventional
Comments](https://conventionalcomments.org/) to make comments clearer.

Please see
https://github.com/unicode-org/icu4x/blob/main/CONTRIBUTING.md for
general
information on contributing to ICU4X.
-->

This PR adds handling for ambiguous cases that may occur when parsing
time values that may be mistaken as a MonthDay or YearMonth.

There's also a little reorganization in `datetime.rs`. It basically
moves `parse_month_day` and `parse_annotated_year_month` further down
the file so that the structure is date_time/date, year_month, month_day.

72 of 76 new or added lines in 4 files covered. (94.74%)

3 existing lines in 3 files now uncovered.

58852 of 81066 relevant lines covered (72.6%)

461554.19 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

91.94
/components/datetime/src/provider/pattern/reference/parser.rs


Source Not Available

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