code_expert
31 Aug 2012, 12:35 PM
Does anyone knows if this bug has been fixed, or is there any workaround for it?
http://cnxforum.com/showthread.php?570-Datefield-Y-m-bug-in-EXTJS
The problem that I have is that the date field entry in my form with format 'Y/m' jumps to the next month if I select a month like April that doesn't have 31 days, and today is Aug 31st. So I guess the day that has been selected is 31st, and since April doesn't have 31 days, it jumps to next month.
Any idea how to work around that, and not change the format? I am using Extjs V4.1.0.
Thanks,
Shabnam
http://cnxforum.com/showthread.php?570-Datefield-Y-m-bug-in-EXTJS
The problem that I have is that the date field entry in my form with format 'Y/m' jumps to the next month if I select a month like April that doesn't have 31 days, and today is Aug 31st. So I guess the day that has been selected is 31st, and since April doesn't have 31 days, it jumps to next month.
Any idea how to work around that, and not change the format? I am using Extjs V4.1.0.
Thanks,
Shabnam