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

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

1 Answer 34 Views
TimePicker
This is a migrated thread and some comments may be shown as answers.
Jane
Top achievements
Rank 1
Jane asked on 19 Jan 2010, 02:35 AM
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

1 Answer, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 22 Jan 2010, 10:00 AM
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.
Tags
TimePicker
Asked by
Jane
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Share this question
or