[Mono-bugs] [Bug 81150][Nor] New - DateTime does not work correctly for Korean locale
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Mar 15 13:22:10 EDT 2007
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 cwryu at debian.org.
http://bugzilla.ximian.com/show_bug.cgi?id=81150
--- shadow/81150 2007-03-15 12:22:10.000000000 -0500
+++ shadow/81150.tmp.31226 2007-03-15 12:22:10.000000000 -0500
@@ -0,0 +1,82 @@
+Bug#: 81150
+Product: Mono: Class Libraries
+Version: 1.2
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: cwryu at debian.org
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: DateTime does not work correctly for Korean locale
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+DateTime does not show Korean date format in Korean locale. It just works
+such as in the English locale.
+
+IIRC this worked correctly before.
+
+
+Steps to reproduce the problem:
+1. compile & run this program in Korean locale:
+
+using System;
+
+class Date
+{
+ static void Main()
+ {
+ DateTime now = DateTime.Now;
+ string str = now.ToLongDateString();
+ Console.WriteLine("[{0}]", str);
+ }
+}
+
+Actual Results:
+
+$ mono --version
+Mono JIT compiler version 1.2.2.1, (C) 2002-2006 Novell, Inc and
+Contributors. www.mono-project.com
+ TLS: normal
+ GC: Included Boehm (with typed GC)
+ SIGSEGV: normal
+ Disabled: none
+$ echo $LANG
+ko_KR.UTF-8
+$ ./mono-date.exe
+[Friday, 16 March 2007]
+
+
+Expected Results:
+
+[2007년 3월 16일]
+
+(or something like this)
+
+How often does this happen?
+
+Always.
+
+Additional Information:
+
+When I run this program in *invalid* "ko" locale, it tries to show something :)
+
+$ LANG=ko ./mono-date.exe
+perl: warning: Setting locale failed.
+perl: warning: Please check that your locale settings:
+ LANGUAGE = (unset),
+ LC_ALL = (unset),
+ LANG = "ko"
+ are supported and installed on your system.
+perl: warning: Falling back to the standard locale ("C").
+[2007? 3? 16?]
+$
More information about the mono-bugs
mailing list