[Mono-bugs] [Bug 58186][Min] New - Invalid Polish date format

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 7 May 2004 06:05:02 -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 jaak@zd.com.pl.

http://bugzilla.ximian.com/show_bug.cgi?id=58186

--- shadow/58186	2004-05-07 06:05:02.000000000 -0400
+++ shadow/58186.tmp.27047	2004-05-07 06:05:02.000000000 -0400
@@ -0,0 +1,40 @@
+Bug#: 58186
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jaak@zd.com.pl               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Invalid Polish date format
+
+Compile and run the following snippet:
+
+using System;
+using System.Globalization;
+
+public class A
+{
+        public static void Main()
+        {
+        System.Threading.Thread.CurrentThread.CurrentCulture = new
+CultureInfo("pl-PL");
+        Console.WriteLine(DateTime.Now);
+        }
+}
+
+Under Windows it produces:
+
+2004-05-07 11:56:29
+
+Under Linux/Mono it produces:
+
+04-05-07 11:45:55 +2