:: Forum >>

date format ff

not sure if this is new or i just havent been checkin firefox and safari as well as i should, but all of my date format columns error out. it works fine in IE and my numbers formats work fine in ff, i eand safari. It is only date and only in ff and safari. it throws directly to the error text i set, so i think it puts the format in the cell, just errors out on the data. here is what it looks like.

var format;
    for(msk = 1; msk < myMask.length;msk++) //format(what format you want, what column you want
        format = null;
        if(myFormat[msk] == "Number")
            var format = new AW.Formats.Number;
        if(myFormat[msk] == "Date")
            var format = new AW.Formats.Date;
        if(format != null)
            if(myMask[msk] == "###,###,##0")
                myMask[msk] = "#,###.";
            table.setCellFormat(format, msk);
        table.setColumnWidth(myLengths[msk], msk);

here is what the data looks like

04-30-2008 08:58:20am
04-30-2008 06:18:44am
05-01-2008 12:00:00am

*i have the data declared with setCellData
Ryan Garabedian
Wednesday, July 2, 2008
I guess FF/Safari do not recognize the date in this format. Try using '/' delimiter instead of '-' or sending the dates in ISO8601 or RFC822 formats.

Alex (ActiveWidgets)
Thursday, July 3, 2008

This topic is archived.

Back to support forum

Forum search