Title:
Bug 76746:(Watson Migration Closure)datetime conversion to/from WDDX doesn't honor DST
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Paul Hastings / PaulH (PaulH)
Created: 04/21/2009
Components: Language, WDDX Serialization
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 9,0,0,224233 /
Priority/Frequency: Normal / Unknown
Locale/System: English / Platforms All
Vote Count: 1
Problem:
datetime conversion to/from WDDX doesn't honor DST.
Method:
Krishna 5/20/09:Repro steps
1.Change the system Time zone to GMT -8:00(US,Canada) and check the checkbox 'Automatically adjust the clock for daylight saving changes'
2.Restart the server.
3.Run the cfm under \\blrfs04.macromedia.com\coldfusion\Bugs\76746
4.You can see different results returned which are differing by one hour.
5.If the check box 'Automatically adjust the clock for daylight saving changes' is not selected, then both results are same.
Customer's:
with the server in PST tz:
<cfwddx action = "wddx2cfml"
input = "<wddxPacket
version='1.0'><header/><data><dateTime>2006-08-20T00:00:00-07:00</dateTime></data></wddxPacket>"
output = "s__WddxDate" />
<cfoutput>WDDX: #s__WddxDate#</cfoutput><br/>
this returns time off by one hour (ie not in DST):
{ts '2006-08-19 23:00:00'}
WDDX: {ts '2006-08-20 12:30:00'}
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3038277
External Customer Info:
External Company:
External Customer Name: PaulH
External Customer Email: 00EE238442D680B29920157F
External Test Config: 04/21/2009
Attachments:
Comments: