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 ?
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 ?