3.2.0

Date formatting in grid - AM/PM

I need to display time in US format
10/27/2006 10:12 AM
Is there a way to take the AM/PM part into account, so the sorting will work right?
Roman
January 8,
does anyone know how to do that?
Roman
January 16,
Use AW.Formats.Date:
http://www.activewidgets.com/aw.formats.date/
James Crow
January 16,
The current AW.Formats.Date class does not handle 12h time format. You have to manually patch textToValue method -

var date = new AW.Formats.Date;

date.textToValue = function(s){
    return Date.parse(s);
}
Alex (ActiveWidgets)
January 17,

This topic is archived.

See also:


Back to support forum