2amigos / yii2-date-picker-widget

Bootstrap DatePicker Widget for Yii2
https://2amigos.us
Other
130 stars 77 forks source link

If the date is 0000-00-00 #45

Open xuanzi23 opened 7 years ago

xuanzi23 commented 7 years ago

Hi, recently I using this plugin and I found that if the date is 0000-00-00 it cannot be search. how i can avoid this problem? The data will 0000-00-00 and I know is bad habit for database but I really need this

tonydspaniard commented 7 years ago

You need to set up a default value.