[Mono-list] Incorrect (Swedish) date format in Mono 4.0.1

rogerthn roon at telia.com
Mon Jun 1 15:57:34 UTC 2015


Hi,
I've Mono JIT compiler version 4.0.1 (tarball Tue May 12 17:22:22 UTC 2015)
installed on my Raspberry PI 2 and when running HelloWorldMMM with
$LANG=sv_SE.UTF-8 I get
pi at PI2 ~ $ mono HelloWorldMMM.exe
Hello World, below is DateTime.Now.ToString MMM, MMMM, ddd and dddd
Jun
Juni
Mån
måndag

On Swedish Windows 7 and 8.1 I get
C:\>HelloWorldMMM.exe
Hello World, below is DateTime.Now.ToString MMM, MMMM, ddd and dddd
jun
juni
må
måndag

Is this a bug or can the issue be found between the chair and the keyboard?
Code below:
pi at PI2 ~ $ cat HelloWorldMMM.cs
using System;

namespace HelloWorld
{
        class MainClass
        {
                public static void Main (string[] args)
                {
                        Console.WriteLine ("Hello World, below is
DateTime.Now.ToString MMM, MMMM, ddd and dddd");
                        Console.WriteLine (DateTime.Now.ToString("MMM"));
                        Console.WriteLine (DateTime.Now.ToString("MMMM"));
                        Console.WriteLine (DateTime.Now.ToString("ddd"));
                        Console.WriteLine (DateTime.Now.ToString("dddd"));
                }
        }
}




--
View this message in context: http://mono.1490590.n4.nabble.com/Incorrect-Swedish-date-format-in-Mono-4-0-1-tp4666098.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list