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>
This commit is contained in:
parent
2870c6bd85
commit
6b6377316e
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue