Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Raymond Camden / Raymond Camden (Raymond Camden)
Created: 06/07/2012
Components: Documentation
Versions: 10.0
Failure Type: Data Corruption
Found In Build/Fixed In Build: Final /
Priority/Frequency: Major / Most users will encounter
Locale/System: English / Windows 7 64-bit
Vote Count: 0
According to the docs, and the JavaDocs, and even pure Java code run in CF, if you 'm' it should be minutes. But it always renders as the month instead.
<cfoutput>
#dateTimeFormat(now())#<br/>
#dateTimeFormat(now(), "MMMM d, yyyy h:mm a")#<br/>
</cfoutput>
Compare it to this Java which renders ok:
<cfscript>
sdf=createObject("java","java.text.SimpleDateFormat").init("dd-MMM-yyyy hh:mm");
writeoutput("#sdf.format(now())#");
</cfscript>
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3208600
Deployment Phase: Release Candidate
External Customer Info:
External Company:
External Customer Name: cfjedimaster
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: