nehakadam / AnyPicker

jQuery Picker Library for Android, iOS & Windows Phone. eg Date Picker, Time Picker, DateTime Picker, Custom Select etc
https://nehakadam.github.io/AnyPicker/
MIT License
116 stars 37 forks source link

How I can make the biggest year is the current year #5

Closed maplehsu closed 8 years ago

maplehsu commented 8 years ago

I found iStepYears to set the current age of 50 * / 2 to set up, but can not set the maximum is the current year alone, do not know how to set up, because I was just learning js, also want to ask. I am Chinese Chinese is not very good, so use the translator to write these issues

nehakadam commented 8 years ago

Following plugin parameters may be useful. Please go through documentation which is available with AnyPicker repo - maxValue - set maximum date minValue - set minimum date maxYear - set maximum year

maplehsu commented 8 years ago

thk My English is not good, you also can understand me, really is too happy.

maplehsu commented 8 years ago

Can I make a friend with you A great god

nehakadam commented 8 years ago

It's good to hear that your problem is solved. You can contact us any time if you have any issue. ☺

maplehsu commented 8 years ago

这样联系,太麻烦了,你有 微信吗 或者gmail

maplehsu commented 8 years ago

Such contact, too much trouble, you have WeChat Or gmail

nehakadam commented 8 years ago

You can ask your queries on nehakadam9@gmail.com.

maplehsu commented 8 years ago

ok..~ thk

artsnr1 commented 6 years ago

@nehakadam maxYear is not working. Kindly point out the mistake

        mode: "datetime",
        inputDateTimeFormat: "DDD, d MMM yyyy hh:mm AA",
        dateTimeFormat: "MMM dd yyyy hh:mm AA",
        rowsNavigation: "scroller+buttons",
        intervals: { h: 1, m: 5 },
        maxYear: 2018,

Also I have tried YY format:

        mode: "datetime",
        inputDateTimeFormat: "DDD, d MMM YY hh:mm AA",
        dateTimeFormat: "MMM dd YY hh:mm AA",
        rowsNavigation: "scroller+buttons",
        intervals: { h: 1, m: 5 },
        maxYear: 2018,