mail-archives/mono-bugs/2004-June/018196.html

75 строки
3.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 60912][Nor] Changed - DateTime.Parse() does not support pattern &quot;6/28/2004 12:00:00 AM&quot;
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:bugzilla-daemon%40bugzilla.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="018195.html">
<LINK REL="Next" HREF="018197.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 60912][Nor] Changed - DateTime.Parse() does not support pattern &quot;6/28/2004 12:00:00 AM&quot;
</H1>
<B>bugzilla-daemon@bugzilla.ximian.com
</B>
<A HREF="mailto:bugzilla-daemon%40bugzilla.ximian.com"
TITLE="[Mono-bugs] [Bug 60912][Nor] Changed - DateTime.Parse() does not support pattern &quot;6/28/2004 12:00:00 AM&quot;">bugzilla-daemon@bugzilla.ximian.com
</A><BR>
<I>Wed, 30 Jun 2004 04:42:01 -0400 (EDT)</I>
<P><UL>
<LI> Previous message: <A HREF="018195.html">[Mono-bugs] [Bug 60912][Nor] Changed - DateTime.Parse() does not support pattern &quot;6/28/2004 12:00:00 AM&quot;
</A></li>
<LI> Next message: <A HREF="018197.html">[Mono-bugs] [Bug 60912][Nor] Changed - DateTime.Parse() does not support pattern &quot;6/28/2004 12:00:00 AM&quot;
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#18196">[ date ]</a>
<a href="thread.html#18196">[ thread ]</a>
<a href="subject.html#18196">[ subject ]</a>
<a href="author.html#18196">[ 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="mailto:ianm@activestate.com.">ianm@activestate.com.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=60912">http://bugzilla.ximian.com/show_bug.cgi?id=60912</A>
--- shadow/60912 2004-06-30 03:48:02.000000000 -0400
+++ shadow/60912.tmp.13037 2004-06-30 04:42:01.000000000 -0400
@@ -95,6 +95,11 @@
Console.WriteLine (s);
Ian, you should create call ToString() with InvariantCulture. In my
box it never creates &quot;1/1/1980 12:00:00 AM&quot;. With InvariantCulture, it
creats &quot;01/01/1980 00:00:00&quot; that can be parsed fine with mono.
+
+------- Additional Comments From <A HREF="mailto:ianm@activestate.com">ianm@activestate.com</A> 2004-06-30 04:42 -------
+Thanks Atsushi, I'll do that. I wonder though if mono should also
+support the undocumented 'feature' of being able to parse &quot;6/28/2004
+12:00:00 AM&quot; with invariant culture - just for compatibility's sake.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="018195.html">[Mono-bugs] [Bug 60912][Nor] Changed - DateTime.Parse() does not support pattern &quot;6/28/2004 12:00:00 AM&quot;
</A></li>
<LI> Next message: <A HREF="018197.html">[Mono-bugs] [Bug 60912][Nor] Changed - DateTime.Parse() does not support pattern &quot;6/28/2004 12:00:00 AM&quot;
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#18196">[ date ]</a>
<a href="thread.html#18196">[ thread ]</a>
<a href="subject.html#18196">[ subject ]</a>
<a href="author.html#18196">[ author ]</a>
</LI>
</UL>
</body></html>