Bugzilla – Attachment 155720 Details for
Bug 33703
Entering dates should be more flexible accepting different entry formats
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33703: (follow-up) declare variables
Bug-33703-follow-up-declare-variables.patch (text/plain), 1.15 KB, created by
Lucas Gass (lukeg)
on 2023-09-15 21:30:02 UTC
(
hide
)
Description:
Bug 33703: (follow-up) declare variables
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2023-09-15 21:30:02 UTC
Size:
1.15 KB
patch
obsolete
>From 22151a77b17750801f0d9cb5ca03301ea3760212 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 15 Sep 2023 21:29:37 +0000 >Subject: [PATCH] Bug 33703: (follow-up) declare variables > >--- > koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc >index 22b15ddc50..ef72bbeb3c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc >@@ -7,6 +7,7 @@ > var debug = "[% debug | html %]"; > var dateformat_pref = "[% Koha.Preference('dateformat') | html %]"; > var flatpickr_dateformat_string = ""; >+ var altinput_dateformat = ['m', 'd', 'Y']; > var delimiter = ""; > switch ( dateformat_pref ){ > case "us": >@@ -17,6 +18,7 @@ > case "metric": > flatpickr_dateformat_string = "d/m/Y"; > altinput_dateformat = ['d', 'm', 'Y']; >+ delimiter = "/"; > break; > case "dmydot": > flatpickr_dateformat_string = "d.m.Y"; >-- >2.30.2
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 33703
:
150894
|
150895
|
155719
|
155720
|
155861
|
155862
|
156411
|
156412
|
156413
|
157132
|
157135
|
157206
|
157746
|
161619
|
161663
|
162722
|
162723
|
162724
|
162725
|
162726
|
162727
|
162728
|
162729
|
162730
|
162731
|
163078
|
163079
|
163080
|
163081
|
163082
|
163083
|
163319
|
163320
|
163321
|
163322
|
163323
|
163324
|
163978
|
163979
|
163980
|
163981
|
163982
|
163983
|
165307
|
165308
|
165309
|
165310
|
165311
|
165312
|
165399