ScreamingKettle
01-02-2009, 03:04 PM
Hi,
I was wondering if anyone has solved this issue I'm having...
I have an editable DateField on screen, but when I enter the date 3/1/09 I would like it to assume that 09 means 2009, not 1909. Is there a way to influence this, other than using a labelFunction? I assume it used Date.parse to convert the entered String into a Date. I like the fact it's quite intelligent in parsing the date that you enter in these fields, but I assumed it would take the minYear attribute of the DateField (in this case I used "1980") into consideration!
I was wondering if anyone has solved this issue I'm having...
I have an editable DateField on screen, but when I enter the date 3/1/09 I would like it to assume that 09 means 2009, not 1909. Is there a way to influence this, other than using a labelFunction? I assume it used Date.parse to convert the entered String into a Date. I like the fact it's quite intelligent in parsing the date that you enter in these fields, but I assumed it would take the minYear attribute of the DateField (in this case I used "1980") into consideration!