If you have questions or if you want to share your opinion about Aware IM post your message on this forum
#52200 by cishpix
Sat Nov 30, 2019 3:48 am
Hi all,
I want to change the maximum year of datepicker to 2199. As I see AwareIM just support until 2099, is it possible to change it?

#52201 by johntalbott
Sat Nov 30, 2019 4:08 am
Try this attribute init script

config.config.max(new Date(2199, 11, 31));

This should allow selection of dates up to 12/31/2199
#52208 by cishpix
Sun Dec 01, 2019 3:28 am
johntalbott wrote:config.config.max(new Date(2199, 11, 31));

Hi John, I have input it into Script of the date attribute but unfortunately it is not works.
Still stuck on 31 Dec 2099.
Any suggestion?

#52213 by johntalbott
Sun Dec 01, 2019 5:40 pm
Oops ... it should be ...

config.config.max = new Date(2199, 11, 31);

Who is online

Users browsing this forum: No registered users and 32 guests