Bugzilla – Attachment 135999 Details for
Bug 30950
timepicker.inc is no longer used and should be removed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30950: Remove timepicker.inc
Bug-30950-Remove-timepickerinc.patch (text/plain), 1.88 KB, created by
Jonathan Druart
on 2022-06-13 08:47:02 UTC
(
hide
)
Description:
Bug 30950: Remove timepicker.inc
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-06-13 08:47:02 UTC
Size:
1.88 KB
patch
obsolete
>From de6cbb74d17d19aa1dbfa03fa84cfdcdd22c04c0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 13 Jun 2022 10:45:33 +0200 >Subject: [PATCH] Bug 30950: Remove timepicker.inc > >No longer used since > commit de2d8ba3e4f611aadc29165a7748cc1797d87ce3 > 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 >--- > .../prog/en/includes/timepicker.inc | 25 ------------------- > 1 file changed, 25 deletions(-) > delete mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/timepicker.inc > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/timepicker.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/timepicker.inc >deleted file mode 100644 >index 2bcb38df7e9..00000000000 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/timepicker.inc >+++ /dev/null >@@ -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 --> >-- >2.25.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30950
:
135999
|
136005
|
136321