Is this a bug: Chinese in RadTimePicker does not show 12 hour format?

2 posts, 0 answers
  1. Jane
    Jane avatar
    16 posts
    Member since:
    Jun 2009

    Posted 18 Jan 2010 Link to this post

    We notice that if we change the culture to be chinese,
    RadTimePicker's select time box always show the Militory time (24 hour format). See the attachment.
    Does this consider as a bug?
    thx!
    Jane
  2. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 22 Jan 2010 Link to this post

    Hello Jane,

    The time format depends on the setted value of the CultureInfo's DateTimeFormat property. Check the posted code bellow:
    radTimePicker.Culture = new CultureInfo("en-US");
    radTimePicker.Culture.DateTimeFormat = new DateTimeFormatInfo()
                {
                    ShortTimePattern = "HH:mm"
                };
    Let us know if you need any further information

    Sincerely yours,
    Kaloyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top