Title:
Bug 82096:Summary: dateformatting masks do not work in HTML grids (e: <cfgrid>)
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 02/15/2010
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Minor / Unknown
Locale/System: English / Platforms All
Vote Count: 0
Duplicate ID: CF-3040935
Problem:
Summary: dateformatting masks do not work in HTML grids (e: <cfgrid>)
Summary off offline conversation:
Me:How does one control the display of date data in an HTML <cfgridcolumn>? By default it seems to format it mm/dd/yyyy, which will look pretty dumb to anyone who isn’t an American.My reading of the docs suggest there’s only control over this in Flash forms. This seems... odd..?If the format is fixed, shouldn’t it look at the locale of the CF server and use a format suitable to that? Obviously having this fixed is "less than ideal", but at least fixing it appropriate to the locale is a start.
Adobe:The mask attribute is also supported for html grids. We will get the docs updated to reflect this. For a list of supported date formats, see http://www.extjs.com/deploy/dev/docs/output/Date.html
Me:OK, so I’m missing something.
I would have thought this:<cfgridcolumn name="dateAdded" type="date" mask="j/n/Y"> would have displayed my dates in d/m/yy format (in CF parlance). it still displays them in mm/dd/yyyy format.Could you provide some code demonstrating this "working"?
Adobe: Please file a bug and we will look into this issue.
Me:I’m confused. Does it work or not? You said it did work..?
Adobe:It should but seems not to after the upgrade to Ext 3.1.
Method:
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3040940
External Customer Info:
External Company:
External Customer Name: Adam Cameron
External Customer Email: 17EB1A7649DA54C7992015A9
External Test Config: 02/15/2010
Attachments:
Comments: