tracker issue : CF-3200965

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

SerializeJSON returns wrong date for UTC date

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Amit Yathirajadasan / Amit Yathirajadasan (aneasytorememberid)

Created: 05/29/2012

Components: AJAX, Plumbing

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final / 283493

Priority/Frequency: Major / All users will encounter

Locale/System: English / Win 2008 Server R2 64 bit

Vote Count: 0

Problem Description: If you convert a Now() to UTC and then send it through SerializeJSON, it returns the local datetime and not the UTC datetime.

Steps to Reproduce: <cfdump var="#SerializeJSON(DateConvert('local2UTC',Now()))#" />

Actual Result: The above statement returns the local date time.

Expected Result: It should actually be the UTC date time.

Any Workarounds: Pass the date time as string to serialize.

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

Watson Bug ID:	3200965

Keywords:
FixTested


External Customer Info:
External Company:  
External Customer Name: aneasytorememberid
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

I wasn't sure what product area this goes under!
Comment by External U.
19149 | May 29, 2012 04:36:41 PM GMT
I also ran into this problem last night - Mac OS X.
Comment by External U.
19150 | September 28, 2012 08:00:17 AM GMT
This is a pain.
Comment by External U.
19151 | October 01, 2012 09:26:47 AM GMT