Skip to content

Invalid timestamp is being accepted by method parse_from_rfc3339 #1762

@kulsarve

Description

@kulsarve

parse_from_rfc3339 method accepts the following timestamp "3000-01-01T10:00:60.000Z" which represents January 1st, 3000 at 10:00:60 AM UTC which is invalid, still it's being accepted.

Please refer to following example where above is observed: https://gist.github.com/rust-play/cc721b90f077459c9db8a0f142dc1d17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions