[Mono-list] Mono ShortDateTime does not reflect LC_TIME

Aleš Vojáček avojacek at fblgroup.cz
Mon Aug 4 18:01:30 UTC 2014


Hi all,
I have installed mono 3.4 on CentOS 6.5.
I have problem with this testing application :

using System;
using System.Globalization;

public class foo {
         public static void Main() {
                 Console.WriteLine("Culture is {0} (LCID {1})",
CultureInfo.CurrentCulture.DisplayName, CultureInfo.CurrentCulture.LCID);
                 Console.WriteLine("ShortDatePattern is {0}",
CultureInfo.CurrentCulture.DateTimeFormat.ShortDatePattern);
         }
}


If I set LANG=en_US.utf-8 output is correct : ShortDatePattern is M/d/yyyy
If I set LANG=cs_CZ.utf-8 output is incorrect : ShortDatePattern is d. 
M. yyyy  (there ar spaces after dot)


Can you point me to right direction :-)
Thank you.
Ales





More information about the Mono-list mailing list