Change the format of kendo time picker in angularJS

2 posts, 0 answers
  1. developer
    developer avatar
    58 posts
    Member since:
    Nov 2015

    Posted 19 Apr Link to this post

    How to change the for time picker format to 24 hours in this example http://demos.telerik.com/kendo-ui/timepicker/angular
  2. Patrick
    Admin
    Patrick avatar
    174 posts

    Posted 19 Apr Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
Back to Top