Reputation:
The tktimepicker default clock type is 12 hours. How do I change tktimepicker clock type from 12-hours to 24-hours?
Upvotes: 1
Views: 726
Reputation: 36662
Per the documentation, there are two ways:
type=constants.HOURS24
to the constructor of your class.configure_24HrsTime
method on SpinTimePickerModern
and SpinTimePickerOld
objects.The code is available here if you need to refer to it.
Upvotes: 1