membrane-php / membrane-core

Membrane is a general purpose input validation library, supports both PHP Attributes and OpenAPI specifications
Other
3 stars 3 forks source link

Remove strict flag from DateString Validator #172

Closed charjr closed 8 months ago

charjr commented 8 months ago

Removes the strict flag from DateString.

Setting the strict flag to true erroneously invalidated date strings in valid RFC3339 formats (The RFC followed by OpenAPI for dates and date-time formats).

I may be mistaken but it did not seem to serve much purpose, so I have removed it to avoid it causing further error.

charjr commented 8 months ago

Alternative approach being taken, this is no longer the course of action.