Bug 8272 - OPAC : date expiration format
authorOwen Leonard <oleonard@myacpl.org>
Tue, 19 Jun 2012 17:08:28 +0000 (13:08 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 20 Jun 2012 21:29:59 +0000 (23:29 +0200)
Adding TT date filter to output of expiration date
on OPAC user page.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Delaye Stephane <stephane.delaye@biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt

index 0b8930f..8ae9a77 100644 (file)
@@ -83,7 +83,7 @@ $.tablesorter.addParser({
                
         [% IF ( BORROWER_INF.warndeparture ) %]
         <div class="dialog alert" id="warndeparture">
-                <strong>Please note:</strong><span> Your card will expire on <span id="warndeparture_date">[% BORROWER_INF.warndeparture %]</span>. Please contact the library for more information.</span>
+                <strong>Please note:</strong><span> Your card will expire on <span id="warndeparture_date">[% BORROWER_INF.warndeparture | $KohaDates %]</span>. Please contact the library for more information.</span>
                 [% IF ( BORROWER_INF.returnbeforeexpiry ) %]<span id="warndeparture_returnbeforeexpiry"> Also note that you must return all checked out items before your card expires.</span>[% END %]
         </div>
         [% END %]