Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Tim Mixell / Tim Mixell (Tim Mixell)
Created: 02/02/2016
Components: Language, Functions
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Normal / Some users will encounter
Locale/System: English / Windows 7 SP1 64-bit
Vote Count: 5
Referencing documentation here: https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-c-d/DateTimeFormat.html
Problem Description: when trying to an escaped sequence in DateTimeFormat, characters in the sequence are omitted, or the function parses mask-characters
Steps to Reproduce: <cfdump var="#DateTimeFormat(now(), "yyyy.MM.dd G 'at' HH:nn:ss z", "America/New_York")#" />
Actual Result: 2016.02.02 AD 'P' 16:41:21 EST
Expected Result: 2016.02.02 AD at 16:41:21 EST
Any Workarounds: not really... the legacy date/time functions don't support timezone as an argument
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4113069
Deployment Phase: Pre-Alpha
External Customer Info:
External Company:
External Customer Name: Tim Mixell
External Customer Email:
External Test Config: My Hardware and Environment details:
Windows 7 / IIS 7.5 / CF 11,0,07,296330
Attachments:
Comments: