Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=75995 --- shadow/75995 2005-09-05 19:38:58.000000000 -0400 +++ shadow/75995.tmp.23399 2005-09-05 19:44:57.000000000 -0400 @@ -2,13 +2,13 @@ Product: Mono: Class Libraries Version: 1.1 OS: All OS Details: Status: NEW Resolution: -Severity: +Severity: Unknown Priority: Normal Component: System AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] TargetMilestone: --- @@ -44,6 +44,46 @@ Windows XPSP2. .NET 1.1 on Windows XP outputs the expected time. ------- Additional Comments From [EMAIL PROTECTED] 2005-09-05 19:38 ------- Created an attachment (id=15697) Short C# programming showing different treatment of timestamps + +------- Additional Comments From [EMAIL PROTECTED] 2005-09-05 19:44 ------- +Output of the attached program should be the same for all three +formats, and for direct parsing with AdjustToUniversal and conversion +via localtime with ToUniversalTime(), but on Mono they differ for the +Z version: + +$ mono Utc.exe +Original input: 2005-09-05T22:29:00Z +Parsed local time: 9/5/2005 3:29:00 PM +AdjustToUniversal: 9/5/2005 3:29:00 PM +ToUniversalTime(): 9/5/2005 10:29:00 PM + +Original input: 2005-09-05T22:29:00+0000 +Parsed local time: 9/5/2005 3:29:00 PM +AdjustToUniversal: 9/5/2005 10:29:00 PM +ToUniversalTime(): 9/5/2005 10:29:00 PM + +Original input: 2005-09-05T15:29:00-0700 +Parsed local time: 9/5/2005 3:29:00 PM +AdjustToUniversal: 9/5/2005 10:29:00 PM +ToUniversalTime(): 9/5/2005 10:29:00 PM + + +Output on .NET 1.1 / WinXP SP2: +Original input: 2005-09-05T22:29:00Z +Parsed local time: 9/5/2005 3:29:00 PM +AdjustToUniversal: 9/5/2005 10:29:00 PM +ToUniversalTime(): 9/5/2005 10:29:00 PM + +Original input: 2005-09-05T22:29:00+0000 +Parsed local time: 9/5/2005 3:29:00 PM +AdjustToUniversal: 9/5/2005 10:29:00 PM +ToUniversalTime(): 9/5/2005 10:29:00 PM + +Original input: 2005-09-05T15:29:00-0700 +Parsed local time: 9/5/2005 3:29:00 PM +AdjustToUniversal: 9/5/2005 10:29:00 PM +ToUniversalTime(): 9/5/2005 10:29:00 PM + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
