Skip to content

Creating an Assert:datetime method #211

@JasonBenett

Description

@JasonBenett

The goal is to create a fast way to assert that a string match a given date pattern. Something like:

Assert::datetime($myStringDate, 'Y-m-d H:i:s', 'My message');

What do you think about it ?

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