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

Change the format of kendo time picker in angularJS

1 Answer 239 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
developer
Top achievements
Rank 1
developer asked on 19 Apr 2016, 01:38 PM
How to change the for time picker format to 24 hours in this example http://demos.telerik.com/kendo-ui/timepicker/angular

1 Answer, 1 is accepted

Sort by
0
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 19 Apr 2016, 09:28 PM
Hi developer FE,

Please take a look at the following Telerik Dojo illustrating how to change the format for the Kendo Timepicker that uses AngularJS.

In order to change the format of a TimePicker, set the format configuration as I did like the following:
<input kendo-time-picker
       ng-model="str"
       k-ng-model="obj"
       k-format="'HH:mm'"
        style="width: 100%;" />

Hope this helps!

Regards,
Patrick
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Date/Time Pickers
Asked by
developer
Top achievements
Rank 1
Answers by
Patrick | Technical Support Engineer, Senior
Telerik team
Share this question
or