title: JQuery input mask for 12 hour time format
body: <p>I am using the jquery inputMask library(<a href="https://github.com/RobinHerbots/jquery.inputmask" rel="noreferrer">https://github.com/RobinHerbots/jquery.inputmask</a>). But feel free to let me know if there is a better inputMask library. But I need inputMask, not a time picker. </p>
  
  <p>The scenario is to have inputMask on the time field. We want to display and have inputMask based on user's locale so it should support both 12 hour and 24 hour format. Originally we only supported 24 hour format so the mask code looks like this: </p>
  
  <pre><code>$('input[id$="endTime"]').inputmask("hh:mm:ss", {placeholder: "HH:MM:SS", insertMode: false, showMaskOnHover: false});
  </code></pre>
  
  <p>Please be aware that we need to support seconds as well. For 12 hour format, I have actually tried several formats but none of them worked well for me. So is it possible to mask that? </p>