-
Notifications
You must be signed in to change notification settings - Fork 221
Open
Description
Overview
This issue tracks the migration from the legacy UnitsFormatter
to the new CategorizedFormatter
architecture, which provides better type safety, improved data organization, and more efficient data loading patterns.
Tasks
1. Migrate Duration Formatter
Priority: High
- Update all the code that using
DurationFormatter
incomponents/experimental/src/duration/formatter.rs
to useCategorizedFormatter<Duration>
instead of individualUnitsFormatter
instances - Replace
DurationUnitFormatter
struct that contains 10 separateUnitsFormatter
instances with categorized approach - Update all duration unit creation (year, month, week, day, hour, minute, second, millisecond, microsecond, nanosecond) to use
Duration
category - Update tests in
components/experimental/src/duration/format.rs
to verify functionality
Metadata
Metadata
Assignees
Labels
No labels