You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in a situation where users must be able to input a duration in the following format: HH'h'MM, (47h30).
With HH between 0 and 99 and MM between 0 and 59 (like real minutes would be).
Obviously, I can't use formatTime, I'd only be able to get 23h max.
Nor can I use formatGeneral with blocks: [2, 2], because users could input more than 59 minutes.
So I'm wondering if there's a way to do this?
Or if something could be implemented to make this possible?
Thank you!
The text was updated successfully, but these errors were encountered:
Hey!
I'm in a situation where users must be able to input a duration in the following format:
HH'h'MM
, (47h30
).With
HH
between 0 and 99 andMM
between 0 and 59 (like real minutes would be).Obviously, I can't use
formatTime
, I'd only be able to get 23h max.Nor can I use
formatGeneral
withblocks: [2, 2]
, because users could input more than 59 minutes.So I'm wondering if there's a way to do this?
Or if something could be implemented to make this possible?
Thank you!
The text was updated successfully, but these errors were encountered: