93c93
< index e05f1b04c1..f5f42cd0b3 100644
---
> index 54abfa74ca..feeae69f2e 100644
127c127
< index 1098ce6b27..57c1586d46 100644
---
> index 94276f1e23..fcfed60f30 100644
130,133c130,133
< @@ -42,10 +42,20 @@
<          }
<          $input.datepicker(datepickerSettings);
<        });
---
> @@ -44,6 +44,15 @@
>              datepickerSettings.maxDate = $input.attr('max');
>            }
>            $input.datepicker(datepickerSettings);
135,142c135,143
< +      // Apply the time-picker polyfill to time input elements.
< +      $context.find('input[type="time"]').once('timePicker').each(function () {
< +        let $input = $(this);
< +        let options = {
< +          'timeFormat': 'H:i',
< +        };
< +        $input.timepicker(options);
< +      });
---
> +          // Apply the time-picker polyfill to time input elements.
> +          $context.find('input[type="time"]').once('timePicker').each(function () {
> +            let $input = $(this);
> +            let options = {
> +              'timeFormat': 'H:i',
> +            };
> +            $input.timepicker(options);
> +          });
>          });
145,147c146,153
<        if (trigger === 'unload') {
<          $(context).find('input[data-drupal-date-format]').findOnce('datePicker').datepicker('destroy');
< +        $(context).find('input[type="time"]').findOnce('timePicker').timepicker('remove');
---
> @@ -52,6 +61,10 @@
>            .find('input[data-drupal-date-format]')
>            .findOnce('datePicker')
>            .datepicker('destroy');
> +        $(context)
> +          .find('input[type="time"]')
> +          .findOnce('timePicker')
> +          .timepicker('remove');
152c158
< index b5d6db5e4a..1b5e5b23f9 100644
---
> index b5d6db5e4a..7fa56e8c57 100644
