Use more generics in datetime symbols code #3771
Labels
C-datetime
Component: datetime, calendars, time zones
S-medium
Size: Less than a week (larger bug fix or enhancement)
Milestone
Currently we use a pile of macros to define datetime symbols provider structs and datetime symbols datagen, defining this tree of "format vs standalone" + short/wide/narrow/abbreviated for each.
This is annoying to evolve, hard to debug, and leads to a proliferation of similar types. It would be nice to use generic code instead, with some internal traits to help implementation.
Most of these changes are internal aside from provider changes
Tracking:
cldr_serde::ca
macros Make datagen datetime symbols code generic, add monthPatterns parsing #3767ZeroFrom
work on types with borrowing generics Expand ZeroFrom to cover cases where attrs can borrow #3770Yoke
work on types with borrowing generics #4119The text was updated successfully, but these errors were encountered: