format times in 24h format