fix(timepicker): ignore switch meridian when time value is not defined

Fix for issue #1089