Skip to content

DateTime strategy crashes with unexpected format #6

@juriansluiman

Description

@juriansluiman

If the date time given does not match any format which php can guess, the DateTime::__construct() raises an exception.

It is better to allow a second parameter in the construction of the DateTime strategy which specifies the format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions