Editor [1.5.6] datetime editor field month behaves different in IE & Chrome
Editor [1.5.6] datetime editor field month behaves different in IE & Chrome
In Calender control when i select April 1st it displayed May 1st same as all the 30 days of months(April,June,September, November) doing like this. I modified the code like below it works for me but i'm using the browser condition with out using the browser condition how to do this please help me.
In Calender Click function
if (/chrom(e|ium)/.test(navigator.userAgent.toLowerCase())) {
that.s.d.setUTCDate(button.data('day'));
that.s.d.setUTCMonth(button.data('month'));
that.s.d.setUTCFullYear(button.data('year'));
that._writeOutput(true);
}
else {
that.s.d.setUTCFullYear(button.data('year'));
that.s.d.setUTCMonth(button.data('month'));
that.s.d.setUTCDate(button.data('day'));
that._writeOutput(true);
}
Answers
Could you update to 1.6.1 please? There are a number of bugs that have been fixed since 1.5.6.
Allan