Problems of formatting dates when uploading the Yii2 application to the server

0

Well, in a form I'm using the datepicker widget from kartik, which in localhost works perfect, but when I uploaded it to the server, it throws me the error that the date format is invalid.

In localhost I use MariaDB (Version: 10.1.9-MariaDB) that comes with the xampp 3.2.2, in windows 10 On the MariaDB server also on Debian 9

Apparently it must be some configuration somewhere I do not know where it is.

How could I solve this problem?

    
asked by José A. Cáceres 05.01.2018 в 18:11
source

1 answer

0

Solved

Then configure in the corresponding model, the date format equal to the one in the widget, and I no longer get the error

    
answered by 09.01.2018 в 20:32