PDA

View Full Version : Form Panel Date Picker not populating in Google Chrome



scdavidso
14 Aug 2010, 2:22 PM
I am attaching a small sample that populates a datefield on a form. The sample works in Firefox 3.6.8, but not Google Chrome 5.0.375.126. I am wondering what I am doing wrong.

evant
15 Aug 2010, 4:54 PM
Chrome reports it as an invalid date, when you try to parse it with new Date, try:



var saleDate = new Date.parseDate(data.saleDate, 'c');

scdavidso
15 Aug 2010, 5:05 PM
Thanks man. Looks like that worked. I saw the Chrome error, just wasn't able to get around it. Thanks.