Closed djpero closed 7 years ago
I can't set any format to datepicker, event submited, its always
1 January, 2017
Any suggestion, thanks!
Here is a code:
var date_from = $('#date_from').pickadate({ format: 'mm/dd/yyyy', formatSubmit: 'mm/dd/yyyy', selectYears: true, selectMonths: true }); var picker_from = $('#date_from').pickadate('picker'); picker_from.set('select', new Date(date.getFullYear(), 0, 1), {format: 'mm/dd/yyyy' });
It was my mistake, It was previously initialised.
@djpero how did you fixed it i am having the same problem
I can't set any format to datepicker, event submited, its always
Any suggestion, thanks!
Here is a code: