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

unicode-org / icu4x / 8881920599

29 Apr 2024 04:17PM UTC coverage: 76.408% (-0.02%) from 76.428%
8881920599

push

github

web-flow
Split datetime error paths (#4732)

https://github.com/unicode-org/icu4x/issues/4336

What this PR does
- Stops converting datetime errors into fmt errors
- Use fallback values to continue writing when an error occurs
- Replaces `Writeable` by `TryWriteable` in neo
- Uses lossy mode in non-neo Writeable implementations

What this PR doesn't do
- Use correct gigo values. For now it writes `<ICU4X ERROR>` everywhere.
A domain expert should replace these by sensible values
- Use a narrower error type than `DatetimeError` for `TryWriteable`

236 of 318 new or added lines in 7 files covered. (74.21%)

7 existing lines in 5 files now uncovered.

53166 of 69582 relevant lines covered (76.41%)

497074.16 hits per line

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

87.76
/components/datetime/src/format/zoned_datetime.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

© 2025 Coveralls, Inc