[Mono-bugs] [Bug 63376][Wis] Changed - System.DateTime.ParseExact fails

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 19 Aug 2004 01:17:30 -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=63376

--- shadow/63376	2004-08-19 01:12:10.000000000 -0400
+++ shadow/63376.tmp.31235	2004-08-19 01:17:30.000000000 -0400
@@ -38,6 +38,18 @@
 Seems to be every time
 
 Additional Information:
 
 ------- Additional Comments From atsushi@ximian.com  2004-08-19 01:12 -------
 Fixed in cvs. thanks
+
+------- Additional Comments From atsushi@ximian.com  2004-08-19 01:17 -------
+Forgot to mention a few points.
+
+It is not recommended to use 'hh' to represent hour in your format
+without t or tt (AM/PM designator). 'HH' is another solution that
+covers 24 hours.
+
+In 'hh' format, 12:33:00 is *incorrectly* allowed and actually it is
+regarded as the same as 0:33:0 (try to look at the resulting
+DateTime's Hour property). Now mono also allows (maybe bad choice) to
+parse it, but I don't recommend to use 12:xx:xx as input.