RobinHerbots / Inputmask

Input Mask plugin
https://robinherbots.github.io/Inputmask/
MIT License
6.4k stars 2.17k forks source link

DateTime Formatting 1:00 PM time as 10:00 PM #1945

Open pbarney opened 6 years ago

pbarney commented 6 years ago

Using version 4.0.1-beta.23

http://jsbin.com/banicawesa/edit?html,output

DateTime of 6/19/2018 1:00 PM is re-formatted by the Inputmask as 6/19/2018 10:00 PM.

RobinHerbots commented 6 years ago

This is because your inputformat expects 6/19/2018 01:00 PM

pbarney commented 6 years ago

Is there a way to get my inputformat to interpret 1:00 PM as 1:00 PM without requiring the leading zero?

Also, do you have a link for a donation page?