[suggestion] Hour:minutes:seconds
See original GitHub issueHello,
Cleave.js is awesome, thank you !
I would like to know if there is a possibility to add a feature for time fields.
That would be nice if we could use it like the date :
var cleave = new Cleave('.input-element', { hour: true, hourPattern: ['H', 'm', 's'] });
Limiting H to 23, m to 59 and s to 59.
Or is there already a way I can get that behaviour ?
Thanks in advance
Issue Analytics
- State:
- Created 7 years ago
- Reactions:11
- Comments:15 (3 by maintainers)
Top Results From Across the Web
Atomic clock scientists suggest shortening minute to 59 seconds
Atomic clock scientists suggest that a minute should be shortened to 59 seconds to re-align atomic clocks with Earth's increased rotation ...
Read more >Total hours, minutes, and seconds from Duration
Total hours, minutes, and seconds from Duration ... I came up with to display seconds with totals under an hour in minutes :...
Read more >Why is a minute divided into 60 seconds, an hour into 60 ...
Despite this suggestion, laypeople continued to use seasonally varying hours for many centuries. (Hours of fixed length became commonplace only ...
Read more >Convert second into hh:mm (hours: Minutes) - ServiceNow
Solved: Hi All, Please advise how to convert duration result from second to hh:mm:ss (hours: Minutes: second). On change script- Script ...
Read more >Solved: Re: How to get the hours,minutes,seconds,frac?
Hi All I Got it TextBetween(Timefield,'','.') as Hour, TextBetween(Timefield,'.',':') as Minute, TextBetween(Timefield,':',':') as Second, - 797069.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Reopen this. There might be a time option.
@kedarv The problem there is
cleave.js
won’t recognize the days or months pattern, so if you type33
it would be a valid input, in contrary thedate
property will validate it for you, I mean if you type33
it will change to31
in the input in the case of days.+1 for the native support.