[Mono-bugs] [Bug 82175][Wis] New - DateTime.ParseExact returns incorrect DateTime when DateTimeStyles.AssumeUniversal is specified
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Jul 24 12:36:41 EDT 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 petee at mindtouch.com.
http://bugzilla.ximian.com/show_bug.cgi?id=82175
--- shadow/82175 2007-07-24 12:36:41.000000000 -0400
+++ shadow/82175.tmp.14662 2007-07-24 12:36:41.000000000 -0400
@@ -0,0 +1,45 @@
+Bug#: 82175
+Product: Mono: Class Libraries
+Version: 1.2
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: petee at mindtouch.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: DateTime.ParseExact returns incorrect DateTime when DateTimeStyles.AssumeUniversal is specified
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+DateTime.ParseExact(string s, string format,
+ IFormatProvider fp, DateTimeStyles style)
+TryParseExact (string s, string format, IFormatProvider fp, DateTimeStyles
+style,out DateTime result)
+
+do not honor the DateTimeStyles.AssumeUniversal flag
+
+Steps to reproduce the problem:
+1. call ParseExact or TryParseExact passing in DateTimeStyles.AssumeUniversal
+
+
+Actual Results:
+The date is parsed as local time
+
+
+Expected Results:
+The date should assume universal time
+
+How often does this happen?
+Always
+
+
+Additional Information:
+See attached test case.
More information about the mono-bugs
mailing list