tracker issue : CF-4198390

select a category, or use search below
(searches all categories and all time range)
Title:

LSParseDateTime returns date shifted by one hour

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Mark Hetherington / Mark Hetherington ()

Created: 03/06/2017

Components: Language, DateTime Functions

Versions: 11.0,10.0

Failure Type: Incorrectly functioning

Found In Build/Fixed In Build: 301868 / 302325

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Win 2012 Server x64

Vote Count: 5

Problem Description: Since an update to 10.0.22 from 10.0.18 LSParseDateTime shifts dates by DST offset unexpectedly.

Steps to Reproduce: Set system timezone to NSW/Sydney (AEDT - UTC+10:00 with +1:00 DST). Locale: English (Australian) 
<cfoutput>#LsParseDateTime("1/1/2017 20:00")#</cfoutput>

Actual Result:{ts '2017-01-01 21:00:00'}

Expected Result:{ts '2017-01-01 20:00:00'}

Attachments:

Comments:

This only appears to affect LSParseDateTime and not ParseDateTime. Affected us when we applied ColdFusion 11 Update 11.
Vote by Angus M.
1129 | March 07, 2017 11:49:17 PM GMT
Running into an issue with EDT vs EST as well. Same issue.
Comment by Jeff M.
1128 | March 24, 2017 01:15:01 PM GMT