[Mono-bugs] [Bug 573354] New: FirstDayOfWeek is incorrect in hu-HU locale

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jan 24 18:11:37 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=573354

http://bugzilla.novell.com/show_bug.cgi?id=573354#c0


           Summary: FirstDayOfWeek is incorrect in hu-HU locale
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 1.2.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: hijaszu at hlfslinux.hu
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.9.0.16)
Gecko/2009121610 Iceweasel/3.0.6 (Debian-3.0.6-3)

while Thread.CurrentCulture.Name is "hu-HU" (and in case of any other
CultureInfo created with "hu-HU" constructor parameter), the
Thread.CurrentCulture.DateTimeFormat.FirstDayOfWeek is DayOfWeek.Sunday.
However week starts on Monday in Hungary.

mono --version
Mono JIT compiler version 2.4.2.3 (Debian 2.4.2.3+dfsg-2~bpo50+1)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
    TLS:           __thread
    GC:            Included Boehm (with typed GC)
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  x86
    Disabled:      none

Operating System version: Debian Lenny, with lenny-backports enabled (no option
to even select Debian Lenny in operating systems, while Lenny is the stable
release of Debian about one year now).

Reproducible: Always

Steps to Reproduce:
Console.WriteLine(Thread.CurrentThread.CurrentCulture);
Console.WriteLine(Thread.CurrentThread.CurrentCulture.DateTimeFormat.FirstDayOfWeek);

Actual Results:  
hu-HU
Sunday


Expected Results:  
hu-HU
Monday

-- 
Configure bugmail: http://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