Bugzilla – Attachment 98900 Details for
Bug 24214
Due date displayed in ISO format (when sticky)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[18.11.x] Bug 24214: Fix due date formatting when sticky
Bug-24214-Fix-due-date-formatting-when-sticky.patch (text/plain), 1.93 KB, created by
Jonathan Druart
on 2020-02-14 08:20:24 UTC
(
hide
)
Description:
[18.11.x] Bug 24214: Fix due date formatting when sticky
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-02-14 08:20:24 UTC
Size:
1.93 KB
patch
obsolete
>From f67e687839d3c0ea3a4c2efe3dd32d34ea3e9ba5 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 14 Feb 2020 09:19:53 +0100 >Subject: [PATCH] Bug 24214: Fix due date formatting when sticky > >When checking out and sticky due date is selected, on the next screen >the due date is displayed iso-formatted, instead of following the >dateformat syspref > >Test plan: >0/ Do not apply the patch >1/ Check an item out, with a selected due date. Tick "Remember for >session" >2/ Next screen you see the date like YYYY-MM-DD HH:MM >regarless the value of the dateformat syspref >3/ Apply this patch >4/ Reload the page >=> The date is correctly formatted >5/ Check an item out >=> Due date is correctly set > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index f8b9b857c6..f8c842b1ea 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -542,7 +542,7 @@ No patron matched <span class="ex">[% message | html %]</span> > <div id="specify-due-date" class="checkout-setting"> > <div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div> > [% IF ( duedatespec ) %] >- <input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec | html %]" /> >+ <input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec | $KohaDates with_hours => 1 %]" /> > [% ELSE %] > <input type="text" size="13" id="duedatespec" name="duedatespec" value="" /> > [% END %] >-- >2.11.0
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 24214
:
96193
|
96787
| 98900