最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - JQuery Inputmask large and negative time values - Stack Overflow

programmeradmin1浏览0评论

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?

发布评论

评论列表(0)

  1. 暂无评论