Title:
CFCLIENT: dateFormat : format does not work when used without any delimited in between
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): / ext-user (Anuj Nawani)
Created: 04/09/2014
Components: Mobile Support, Data Structure
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: 289685 / CF11 Update5
Priority/Frequency: Minor / All users will encounter
Locale/System: English / Windows 7 64-bit
Vote Count: 0
Related Bugs:
CF-4092089 - Similar to
Code snippet:
<div>
<cfclient>
<cfset d="2003-6-11 10:50:32">
<cfoutput>#dateFormat(d, "yyyy/mm/dd 20d")#</cfoutput>
</cfclient>
</div>
Expected: 2011
Actual: 20d
Same issue with other formats: gg, h, m, s, y
When we use some delimiter like comma, space, colon etc it works fine e.g.
<cfoutput>#dateFormat(d, "20 d")#</cfoutput>
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3739355
External Customer Info:
External Company:
External Customer Name:
External Customer Email:
Attachments:
Comments: