Bug 11513: (follow-up) format enrollment end date consistently
The previous patch added use of the KohaDates TT plugin, so this
patch makes sure that it gets used to format the display of all
occurrences of the enrollment end date.
To test:
[1] Create a patron category with a fixed end date.
[2] Bring up the list of all categories and verify that the date
is displayed based on the dateformat value.
[3] Delete the category, and verify that the confirmation dialog
formats the date correctly.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 6b6377316e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
66f7fb49b3
commit
1448ee66b6
|
|
@ -243,7 +243,7 @@ Confirm deletion of category [% categorycode |html %][% END %]</legend>
|
|||
[% IF ( enrolmentperiod ) %]
|
||||
[% enrolmentperiod %] months
|
||||
[% ELSE %]
|
||||
until [% enrolmentperioddate %]
|
||||
until [% enrolmentperioddate | $KohaDates %]
|
||||
[% END %]
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -323,7 +323,7 @@ Confirm deletion of category [% categorycode |html %][% END %]</legend>
|
|||
[% IF ( loo.enrolmentperiod ) %]
|
||||
[% loo.enrolmentperiod %] months
|
||||
[% ELSE %]
|
||||
until [% loo.enrolmentperioddate %]
|
||||
until [% loo.enrolmentperioddate | $KohaDates %]
|
||||
[% END %]
|
||||
|
||||
</td>
|
||||
|
|
|
|||
Loading…
Reference in New Issue