mail-archives/mono-bugs/2005-June/031006.html

91 строка
4.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 75353][Nor] Changed - DateTime.Parse problem
en-GB: ok on 1.1.6, fails on 1.1.8
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075353%5D%5BNor%5D%20Changed%20-%20DateTime.Parse%20problem%0A%09en-GB%3A%20ok%20on%201.1.6%2C%20fails%20on%201.1.8&In-Reply-To=bug-75353%40chernobyl.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="031005.html">
<LINK REL="Next" HREF="031007.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 75353][Nor] Changed - DateTime.Parse problem
en-GB: ok on 1.1.6, fails on 1.1.8</H1>
<B>bugzilla-daemon at bugzilla.ximian.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075353%5D%5BNor%5D%20Changed%20-%20DateTime.Parse%20problem%0A%09en-GB%3A%20ok%20on%201.1.6%2C%20fails%20on%201.1.8&In-Reply-To=bug-75353%40chernobyl.ximian.com"
TITLE="[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
</A><BR>
<I>Mon Jun 27 06:05:15 EDT 2005</I>
<P><UL>
<LI>Previous message: <A HREF="031005.html">[Mono-bugs] [Bug 75353][Nor] Changed - DateTime.Parse problem
en-GB: ok on 1.1.6, fails on 1.1.8
</A></li>
<LI>Next message: <A HREF="031007.html">[Mono-bugs] [Bug 75388][Nor] New - Cannot delete a row that has
been just added
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#31006">[ date ]</a>
<a href="thread.html#31006">[ thread ]</a>
<a href="subject.html#31006">[ subject ]</a>
<a href="author.html#31006">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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 <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">atsushi at ximian.com.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=75353">http://bugzilla.ximian.com/show_bug.cgi?id=75353</A>
--- 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 <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">atsushi at ximian.com</A> 2005-06-27 06:05 -------
+&gt; 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).
+
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="031005.html">[Mono-bugs] [Bug 75353][Nor] Changed - DateTime.Parse problem
en-GB: ok on 1.1.6, fails on 1.1.8
</A></li>
<LI>Next message: <A HREF="031007.html">[Mono-bugs] [Bug 75388][Nor] New - Cannot delete a row that has
been just added
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#31006">[ date ]</a>
<a href="thread.html#31006">[ thread ]</a>
<a href="subject.html#31006">[ subject ]</a>
<a href="author.html#31006">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>