Skip to content

Calendar safety of format_unchecked #6486

Open
@sffc

Description

@sffc

It is really easy to forget to convert the calendar when using format_unchecked. I've done it myself.

I drafted #6487 as a simplistic approach for this, but it just adds more trait functions and stuff without leveraging what we already have, which seems unelegant.

CC @Manishearth @robertbastian

Metadata

Metadata

Assignees

Labels

2.0-breakingChanges that are breaking API changesC-datetimeComponent: datetime, calendars, time zonesdiscuss-priorityDiscuss at the next ICU4X meeting

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions