Skip to content

Decide types of DateFields::era and DateFields::month_code #7104

@sffc

Description

@sffc

As mentioned in #7010, we should consider switching DateFields to use &str for the month code.

But, as mentioned in #7099 (comment), perhaps it should be a &[u8]? But then debug impls and potentially serde derives and such won't work as nicely.

Should we add a dependency on potential_utf and use a type from that crate?

@robertbastian @Manishearth

Metadata

Metadata

Assignees

Labels

C-calendarComponent: Calendarsdiscuss-priorityDiscuss at the next ICU4X meeting

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions