0

I am having problems getting Mobiscroll to recognize the year part of a date. See image below:

Mobiscroll year

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?

Matt
  • 6,787
  • 11
  • 65
  • 112

1 Answers1

2

"yyyy" is not supported as a date format. Use "yy" for four digit year.

http://docs.mobiscroll.com/datetime-preset

Levi Kovacs
  • 1,159
  • 8
  • 14