"yyyy" is not supported as a date format. Use "yy" for four digit year.
Mobiscroll with JQuery Mobile: Year part not being recognized
-
01-12-2021 - |
سؤال
I am having problems getting Mobiscroll to recognize the year part of a date. See image below:
JS
$('.datepicker').scroller({
preset: 'date',
theme: 'jqm',
display: 'bottom',
mode: 'scroller',
dateOrder: 'yyyy-mm-dd',
dateFormat: 'yyyy-mm-dd'
});
Is this a bug? And what do I do to make Mobiscroll recognize the given year?
المحلول
لا تنتمي إلى StackOverflow