Skip to content

ISO 8601 check for toMillis is too strict #140

@mattbaileyuk

Description

@mattbaileyuk

The ISO 8601 date check for the toMillis() function is too strict and only accepts dates in the format 2018-01-31T17:39:00.000Z or 2018-01-31T17:39:00.000+00:00 rather than the wider range of valid dates which is possible such as 2018-01-31 or 2018-01-31T17:39:00.000+0000 (the latter of which is where I stumbled upon this issue).

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