Hi I understand that this plugin is no longer being maintained but wondering if someone could help me with an issue. I want the input to operate as close to type="time" as possible. I am wanting there to be a leading 0 when there is a singular integer hour. Setting the defaultTime or setTime options also do not work.
For example 1 through 9 hours should display as 01 or 09.
Please see this codepen: https://codepen.io/leetoufong/pen/LYGKbKR?editors=1010
The expected result I need: 01:45:12
What is actually displaying on the input: 1:45:12
When logging the value, the return value is: 1:45:12
When manually typing a 0 then a 1, the hour value reverts back to: 1:45:12
Furthermore, this will adhere to standard ISO 24 hour time format.
Hi I understand that this plugin is no longer being maintained but wondering if someone could help me with an issue. I want the input to operate as close to
type="time"as possible. I am wanting there to be a leading0when there is a singular integer hour. Setting thedefaultTimeorsetTimeoptions also do not work.For example
1through9hours should display as01or09.Please see this codepen: https://codepen.io/leetoufong/pen/LYGKbKR?editors=1010
The expected result I need:
01:45:12What is actually displaying on the input:
1:45:12When logging the value, the return value is:
1:45:12When manually typing a
0then a1, the hour value reverts back to:1:45:12Furthermore, this will adhere to standard ISO 24 hour time format.