[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, 23 Mar 2004 13:19:13 -0500 (EST)
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 dick@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=54721
--- shadow/54721 2004-03-22 12:35:52.000000000 -0500
+++ shadow/54721.tmp.16599 2004-03-23 13:19:12.000000000 -0500
@@ -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.