[Mono-bugs] [Bug 75353][Nor] Changed - DateTime.Parse problem
en-GB: ok on 1.1.6, fails on 1.1.8
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Jun 27 06:05:15 EDT 2005
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 at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75353
--- shadow/75353 2005-06-27 05:39:05.000000000 -0400
+++ shadow/75353.tmp.18435 2005-06-27 06:05:15.000000000 -0400
@@ -93,6 +93,17 @@
Are the pattern definitions for parsing separate from those for
formatting then? Because having parsed in 'neutral' format (yyyy-mm-
dd), ToShortDateString formats the date fine in en-GB. It's just
when Parse is used on the results (dd-mm-yyyy) in en-GB there's a
problem ... if that helps clarify at all ...
+
+------- Additional Comments From atsushi at ximian.com 2005-06-27 06:05 -------
+> Are the pattern definitions for parsing separate from those for
+formatting then?
+
+In the implementation, yes. Those pattern strings returned by such as
+ShortDatePattern should be included in the pattern list that
+GetAllDateTimePatterns() returns. Anyways en-GB DateTimeFormatInfo
+currently does not return dd/MM/yyyy for that method above, so that's
+the problem (it seems to have very different pattern list).
+
More information about the mono-bugs
mailing list