Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): / ext-user (Piyush Kumar Nayak)
Created: 04/11/2014
Components: AJAX, UI Components
Versions: 11.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: 289739 /
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Windows 7 64-bit
Vote Count: 0
Problem:
cfgridcolumn : the mask attribute is not honored.
Method:
simplified test case:
<!--- replace the mask attrib in the test below with: "m/d/Y","d/m/y","d/m/Y","j/n/y","j/n/Y","Y-m-d H:i:s","Y-m-d","n/j/Y" --->
<cfform>
<cfquery name="q" datasource="ajax">
select * from employees
</cfquery>
<cfgrid name="g" format="html" query="q" width="500" selectmode="edit">
<cfgridcolumn name="firstname" >
<cfgridcolumn name="lastname" >
<cfgridcolumn name="location" >
<cfgridcolumn name="startdate" mask="Y-m-d H:i:s" width="150" type="date">
</cfgrid>
</cfform>
Result:
data displayed in first row, date col.:
04/19/05
Expected:
2005-04-19 00:00:00
as is the behavior in CF10.
Workaround:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3741397
External Customer Info:
External Company:
External Customer Name:
External Customer Email:
Attachments:
Comments: