Skip to content

ZonedDateTime methods should be infallible #328

Description

@Manishearth

ZonedDateTime has a lot of the same methods as PlainDateTime, like .year(), but they're all fallible because of the provider stuff.

With compiled_data they should definitely not be fallible. We should also consider having these never be fallible, and having the case of "mixing providers" be treated as pure GIGO.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions