I did some web searching, and it appears that the time format depending on operating system locale. This means you can't control it.
The only solutions would be to use a custom time script that you have more control of, or loosen up your validation to allow 24 hour format.