Display Weekday in right localization

2 posts, 0 answers
  1. Björn
    Björn avatar
    23 posts
    Member since:
    Mar 2011

    Posted 08 Aug 2011 Link to this post

    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.
  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 10 Aug 2011 Link to this post

    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.

    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
  3. DevCraft R3 2016 release webinar banner
Back to Top