I defined the display format for the DateTimePicker including the weekday:
I set the
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.
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.