Bug 30950: Remove timepicker.inc

No longer used since
  commit de2d8ba3e4
  Bug 30011: Update links to jQueryUI assets, remove datepicker references, etc.

We must remove it from our codebase.

Test plan:
  git grep timepicker.inc
Should not return occurrences outside of PO's

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2022-06-13 10:45:33 +02:00 committed by Tomas Cohen Arazi
parent 76d22780ed
commit 75bd5cfda1
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 0 additions and 25 deletions

View File

@ -1,25 +0,0 @@
<!-- timepicker.inc -->
<script>
/* Localization of the timepicker plugin */
jQuery(function($){
$.timepicker.regional[''] = {
timeFormat: "[% IF Koha.Preference('TimeFormat') == '12hr' %]hh:mm TT[% ELSE %]HH:mm[% END %]",
currentText: _("Now"),
closeText: _("Done"),
amNames: [_("AM"), _("A")],
pmNames: [_("PM"), _("P")],
timeSuffix: "",
timeOnlyTitle: _("Choose time"),
timeText: _("Time"),
hourText: _("Hour"),
minuteText: _("Minute"),
secondText: _("Second"),
millisecText: _("Millisecond"),
microsecText: _("Microsecond"),
timezoneText: _("Time zone"),
[% IF ( bidi ) %] isRTL: true [% ELSE %] isRTL: false [% END %]
};
$.timepicker.setDefaults($.timepicker.regional['']);
});
</script>
<!-- / timepicker.inc -->