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

"24" format time display

1 Answer 29 Views
TimeBar
This is a migrated thread and some comments may be shown as answers.
Christophe
Top achievements
Rank 1
Christophe asked on 17 Nov 2011, 12:04 PM
Hello,

Is it possible to display hours in 24 format in the timebar? I mean 1PM should be displayed as 13:00... (but still get 1:00, 2:00, etc...)
I tried to change different culture settings, but nothing changes that.

Do you have an idea?
Christophe

1 Answer, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 22 Nov 2011, 03:40 PM
Hi Christophe,
As mentioned in our online documentation, the HourInterval supports the following datetime formats:
  • hh tt
  • ht
Currently, you cannot specify the datetime formats that an interval uses and the only way to change these, is to change the formats collection in the code of RadTimeBar. You need to use the H format specifier in this case.

All the best,
Tsvetie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
TimeBar
Asked by
Christophe
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Share this question
or