frontend/js/controllers/timepicker_controller.js
import FlatpickrController from './flatpickr_controller'
import { i18n } from '../core/i18n'
export default class extends FlatpickrController {
get options () {
return {
...super.options,
enableTime: true,
noCalendar: true,
altFormat: i18n.t('admin.datepicker.formats.time', { defaultValue: 'h:i K' })
}
}
}