@@ -, +, @@ TimeFormat is 12hr --- C4/Circulation.pm | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) --- a/C4/Circulation.pm +++ a/C4/Circulation.pm @@ -1034,14 +1034,14 @@ sub CanBookBeIssued { $alerts{HIGHHOLDS} = { num_holds => $check->{outstanding}, duration => $check->{duration}, - returndate => output_pref( $check->{due_date} ), + returndate => output_pref( { dt => dt_from_string($check->{due_date}), dateformat => 'iso', timeformat => '24hr' }), }; } else { $needsconfirmation{HIGHHOLDS} = { num_holds => $check->{outstanding}, duration => $check->{duration}, - returndate => output_pref( $check->{due_date} ), + returndate => output_pref( { dt => dt_from_string($check->{due_date}), dateformat => 'iso', timeformat => '24hr' }), }; } } --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -71,7 +71,7 @@ [% END %] [% IF alert.HIGHHOLDS %] -
High demand item. Loan period was not shortened due to override. Shortened due date would have been [% alert.HIGHHOLDS.returndate %] ([% alert.HIGHHOLDS.duration %] days).
+
High demand item. Loan period was not shortened due to override. Shortened due date would have been [% alert.HIGHHOLDS.returndate | $KohaDates %] ([% alert.HIGHHOLDS.duration %] days).
[% END %] [% IF ( nopermission ) %] @@ -180,7 +180,7 @@ [% END %] [% IF HIGHHOLDS %] -
  • High demand item. Loan period shortened to [% HIGHHOLDS.duration %] days (due [% HIGHHOLDS.returndate %]). Check out anyway?
  • +
  • High demand item. Loan period shortened to [% HIGHHOLDS.duration %] days (due [% HIGHHOLDS.returndate | $KohaDates %]). Check out anyway?
  • [% END %] [% IF PREVISSUE %] --