initial implementation of 24hr / am/pm format detection for timepicker