add 12h format time support