[Mono-bugs] [Bug 341600] New: CultureInfo.DateTimeFormat. DateSeparator wrong for many cultures
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Nov 14 07:56:26 EST 2007
https://bugzilla.novell.com/show_bug.cgi?id=341600
Summary: CultureInfo.DateTimeFormat.DateSeparator wrong for many
cultures
Product: Mono: Runtime
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: misc
AssignedTo: mono-bugs at ximian.com
ReportedBy: juraj at hotfeet.ch
QAContact: mono-bugs at ximian.com
Found By: ---
Test case
=========
using System;
using System.Globalization;
class Test {
static void Main() {
foreach(CultureInfo ci in
CultureInfo.GetCultures(CultureTypes.AllCultures)) {
if(ci.IsNeutralCulture)
continue;
string pattern = ci.DateTimeFormat.ShortDatePattern;
string separator = ci.DateTimeFormat.DateSeparator;
if(pattern.IndexOf(separator) == -1)
Console.WriteLine("{0}: \"{1}\", '{2}'", ci.Name, pattern, separator);
}
}
}
Output MS.NET: none
Output Mono:
bg-BG: "dd.M.yyyy 'г.'", '/'
cs-CZ: "d.M.yyyy", '/'
da-DK: "dd-MM-yyyy", '/'
de-DE: "dd.MM.yyyy", '/'
fi-FI: "d.M.yyyy", '/'
hu-HU: "yyyy. MM. dd.", '/'
is-IS: "d.M.yyyy", '/'
nl-NL: "d-M-yyyy", '/'
nb-NO: "dd.MM.yy", '/'
pl-PL: "yyyy-MM-dd", '/'
ro-RO: "dd.MM.yyyy", '/'
ru-RU: "dd.MM.yyyy", '/'
hr-HR: "d.M.yyyy", '/'
sk-SK: "d. M. yyyy", '/'
sq-AL: "yyyy-MM-dd", '/'
sv-SE: "yyyy-MM-dd", '/'
tr-TR: "dd.MM.yyyy", '/'
uk-UA: "dd.MM.yyyy", '/'
be-BY: "dd.MM.yyyy", '/'
sl-SI: "d.M.yyyy", '/'
et-EE: "d.MM.yyyy", '/'
lv-LV: "yyyy.MM.dd.", '/'
lt-LT: "yyyy.MM.dd", '/'
hy-AM: "dd.MM.yyyy", '/'
mk-MK: "dd.MM.yyyy", '/'
fo-FO: "dd-MM-yyyy", '/'
hi-IN: "dd-MM-yyyy", '/'
gu-IN: "d-MM-yy", '/'
ta-IN: "d-M-yy", '/'
te-IN: "dd-MM-yy", '/'
kn-IN: "d-M-yy", '/'
mr-IN: "d-M-yy", '/'
kok-IN: "d-M-yy", '/'
zh-CN: "yy-M-d", '/'
de-CH: "dd.MM.yyyy", '/'
it-CH: "dd.MM.yyyy", '/'
nn-NO: "dd.MM.yy", '/'
pt-PT: "dd-MM-yyyy", '/'
sv-FI: "d.M.yyyy", '/'
zh-HK: "yy'年'M'月'd'日'", '/'
de-AT: "dd.MM.yyyy", '/'
fr-CA: "yyyy-MM-dd", '/'
de-LU: "dd.MM.yyyy", '/'
fr-CH: "dd.MM.yyyy", '/'
ar-DZ: "dd-MM-yyyy", '/'
zh-MO: "yy'年'M'月'd'日'", '/'
ar-MA: "dd-MM-yyyy", '/'
ar-TN: "dd-MM-yyyy", '/'
es-CL: "dd-MM-yyyy", '/'
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list