[Mono-bugs] [Bug 80677][Maj] New - DateTimeStyles.AssumeUniversal and AdjustToUniversal don't work

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 30 16:09:09 EST 2007


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 joeshaw at novell.com.

http://bugzilla.ximian.com/show_bug.cgi?id=80677

--- shadow/80677	2007-01-30 16:09:09.000000000 -0500
+++ shadow/80677.tmp.18730	2007-01-30 16:09:09.000000000 -0500
@@ -0,0 +1,38 @@
+Bug#: 80677
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: joeshaw at novell.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: DateTimeStyles.AssumeUniversal and AdjustToUniversal don't work
+
+Using Mono 1.2.2.1, the DateTimeStyles.AssumeUniversal and
+AdjustToUniversal flags don't seem to work.
+
+With the test case, on Mono:
+Parsing 20070130171019 as yyyyMMddHHmmss
+With DateTimeStyles.AssumeUniversal:
+Kind: Local
+dt: 1/30/2007 5:10:19 PM
+With DateTimeStyles.AssumeUniversal | DateTimeStyles.AdjustToUniversal:
+Kind: Local
+dt: 1/30/2007 5:10:19 PM
+
+On .Net:
+Parsing 20070130171019 as yyyyMMddHHmmss
+With DateTimeStyles.AssumeUniversal:
+Kind: Local
+dt: 1/30/2007 12:10:19 PM
+With DateTimeStyles.AssumeUniversal | DateTimeStyles.AdjustToUniversal:
+Kind: Utc
+dt: 1/30/2007 5:10:19 PM


More information about the mono-bugs mailing list