JQuery Inputmask large and negative time values

I’m trying to configure inputmask to allow large and negative time values.

Examples:

  • 1:10
  • 10:20
  • 198:45
  • -20:00
  • -300:01
  • -0:01

I’ve found this for regular 24 time periods:

$(“input.timeedit”).inputmask({
alias: “datetime”,
inputFormat: “HH:mm” });

Which works great for a max 24 hours but does not go higher or allow negatives. Any suggestions on how to configure it?