Bug 33858: Format dates in offline circ

1 - check item 3999900000001 out to a patron
2 - upload the attached KOC file from bug 33838
3 - navigate to pending offline circ actions
4 - verify that the date is shown unformatted
5 - apply patch
6 - verify that the date is now shown formatted

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Univ Brest <cecile.lambour@univ-brest.fr>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2023-06-07 10:57:37 +02:00 committed by Tomas Cohen Arazi
parent eef588d71c
commit 3e15d728e5
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -1,5 +1,6 @@
[% USE raw %]
[% USE Asset %]
[% USE KohaDates %]
[% SET footerjs = 1 %]
[% INCLUDE "doc-head-open.inc" %]
<title>Offline circulation &rsaquo; Circulation &rsaquo; Koha</title>
@ -60,7 +61,7 @@
<tr class="oc-[% operation.action | html %]">
<td><input type="checkbox" name="operationid" id="operationid[% operation.operationid | html %]" value="[% operation.operationid | html %]" /></td>
<td>
<label for="operationid[% operation.operationid | html %]">[% operation.timestamp | html %]</label>
<label for="operationid[% operation.operationid | html %]">[% operation.timestamp | $KohaDates with_hours=1 %]</label>
</td>
<td>
[% SWITCH ( operation.action ) -%]