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

[Solved] RadTimePicker HH:mm format scrolls till 12

6 Answers 316 Views
TimePicker for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Clemens Reijnen
Top achievements
Rank 1
Clemens Reijnen asked on 25 Nov 2012, 08:06 PM
Hi,

When I set SelectorFormat="HH:mm" the hour selecter only shows from 1 till 12, I would expect it would go till 23. The interesting thing is that DisplayValueFormat="HH:mm", displays the time correct.

do i do something wrong, or is this a bug?

thanks, 
Clemens

6 Answers, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 26 Nov 2012, 01:48 PM
Hello Clemens,

Thank you for using RadControls for Windows 8!

The hour count is currently dependent on the UI Culture and the time format specified by the DateTimeFormatInfo. This behavior however is not very intuitive and user friendly and we will update it to honor the SelectorFormat property. The fix will be available in our upcoming service pack - expected next week.

Thank you for bringing this issue to our attention - I have updated your Telerik points for your time and feedback. Do not hesitate to write us back should you have any other question/problem with our tools.

Kind regards,
Georgi
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Alec
Top achievements
Rank 1
answered on 21 Jan 2013, 09:55 AM
Hello Clemens,

You can try the below code property as well to set the 12 hour format.



 <telerik:RadTimePicker ID="TPEndTime" runat="server">
                                                                                                        <TimeView ID="TimeView1" TimeFormat="hh:mm tt" Interval="00:30" Columns="4" runat="server" />
                                                                                                    </telerik:RadTimePicker>

TimeFormat="hh:mm tt"   == used to show the 12 hours format with AM /PM

TimeFormat="HH:mm tt"  == CAPITAL HH used to show the miltary time 24 hour format.

Thanks
Alec
0
Periklis
Top achievements
Rank 1
answered on 30 Jul 2013, 11:58 AM
Hello Georgi,

Is there any update regarding this feature? I want to provide to the users a 24 hour format but the SelectorFormat only gives me the option to just hide the AM/PM part.
0
Ivaylo Gergov
Telerik team
answered on 31 Jul 2013, 01:50 PM
Hello Periklis,

Thank you for contacting us.

I can see that you are using the 2013.1.417 version of the RadControls for Windows 8 XAML, so the SelectorFormat property should help you achieve this:
<telerikInput:RadTimePicker DisplayValueFormat="HH:mm" SelectorFormat="HH:mm"/>

If this do not work, could you please reinstall the current version of the controls or download and install our latest release.

I hope this helps. Let me know if I can assist you any further.

 

Regards,
Ivaylo Gergov
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Periklis
Top achievements
Rank 1
answered on 31 Jul 2013, 02:35 PM
Yes you are right. Please consider updating your documentation with this info since it seems to be quite common question how to set the Selector to show 24 hour format.

Thank you
0
Rosy Topchiyska
Telerik team
answered on 02 Aug 2013, 01:11 PM
Hi Periklis,

We will update our documentation right away. Thank you for your valuable feedback and don't hesitate to contact us if you have any other problems or suggestions.

Regards, Rositsa Topchiyska
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
TimePicker for XAML
Asked by
Clemens Reijnen
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Alec
Top achievements
Rank 1
Periklis
Top achievements
Rank 1
Ivaylo Gergov
Telerik team
Rosy Topchiyska
Telerik team
Share this question
or