In the Select List widget, you should be able to leave the minutes empty, if you want to define a time on the whole hour.

Comments

johnv created an issue. See original summary.

johnv’s picture

Adding the following lines does the trick:

+    if (!empty($input['hour']) && isset($input['minute']) && empty($input['minute'])) {
+      $input['minute'] = '00';
+    }

  • johnv committed c457d5a on 8.x-1.x
    Issue #3120150: Set empty minutes field to 00 for better UX
    
johnv’s picture

Version: 8.x-1.x-dev » 8.x-1.2
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.