tracker issue : CF-3043270

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

Bug 86140:-(Watson Migration Closure)[maestrofjp] The function ParseDateTime() incorrect parses Unix Datetime strings

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/LowImpact

Reporter/Name(from Bugbase): Peter Farrell / Peter Farrell (MaestroFJP)

Created: 02/02/2011

Components: Language, Functions

Versions: 9.0.1

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Problem:

[maestrofjp] The function ParseDateTime() incorrect parses Unix Datetime strings.<cfset dt = "Wed Dec 23 05:34:28 +0000 2009"><cfdump var=#parsedatetime( dt )#>{ts '2000-12-23 05:34:28'} It incorrectly interprets the time zone offset as the year part of the date.  The example above should have the year of 2009.
Method:

Test case:<cfset dt = "Wed Dec 23 05:34:28 +0000 2009"><cfdump var=#parsedatetime( dt )#>
Result:

None, but incorrectly using the time zone offset as the year.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3043270

External Customer Info:
External Company:  
External Customer Name: Peter Farrell
External Customer Email: 49ED14CD43A7342099201674
External Test Config: 02/02/2011

Attachments:

Comments: