time-select: hide period selector when not 12h format