This is a migrated thread and some comments may be shown as answers.

Display Weekday in right localization

1 Answer 47 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Björn
Top achievements
Rank 1
Björn asked on 08 Aug 2011, 10:24 AM
I defined the display format for the DateTimePicker including the weekday:

datePicker.Culture = new CultureInfo("de-CH")
{
var x2 = Thread.CurrentThread.CurrentUICulture;
    DateTimeFormat = new DateTimeFormatInfo
    {
        ShortDatePattern = "ddd dd-MMM-yyyy"
    }
};

I set the CurrentInfo and CurrentUICulture at startup of the app to "de-CH".
Unfortunately the weekday is always displayed in English instead of German.
The current CurrentUICulture of the current thread is still set to "de-CH" when I set the datetimeformat.
Thanks
Björn.

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 10 Aug 2011, 03:53 PM
Hi Björn,

I am afraid this is a bug in the DateTimePicker. I have logged it in PITS. You can view it here. You can vote for it, track its status and see when it is going to be fixed.
Your Telerik points have been updated for your involvement.

Regards,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
Tags
DateTimePicker
Asked by
Björn
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or