mercredi 2 mars 2016

How to validate date format "D M d Y h:i:s \G\M\TO (T)" in laravel 5?

I have used validation rule of laravel $rules = ['date' => 'date_format:D M d Y h:i:s \G\M\TO (T)'];

and when I pass date "Thu Mar 03 2016 12:16:05 GMT+0530 (IST)" Validation show "The date does not match the format D M d Y h:i:s \G\M\TO (T)"



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1Y3WMIw
via IFTTT

Aucun commentaire:

Enregistrer un commentaire