[Mono-bugs] [Bug 54721][Blo] Changed - Convert.ChangeType() fails with datetime format MM-DD-YYYY for InvariantCulture
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 8 Jun 2004 15:38:56 -0400 (EDT)
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 atsushi@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=54721
--- shadow/54721 2004-06-08 14:31:37.000000000 -0400
+++ shadow/54721.tmp.16698 2004-06-08 15:38:56.000000000 -0400
@@ -12,13 +12,13 @@
ReportedBy: jaak@zd.com.pl
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
Summary: Convert.ChangeType() fails with datetime format MM-DD-YYYY for InvariantCulture
-BugsThisDependsOn: 54047
+BugsThisDependsOn: 54047[FIXED]
DateTime dt = (DateTime)Convert.ChangeType(..., typeof(DateTime),
CultureInfo.InvariantCulture);
doesn't accept the date format "MM-DD-YYYY". "MM/DD/YYYY" is supported,
though.