From c15d79eac06fb0127052d3bfca2441732a3112f4 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Mon, 6 Jan 2014 13:19:17 -0500 Subject: [PATCH] %l instead of %H if we're using AM/PM for default time formats Thanks again to the indefatiguable Ben Shum for this catch! Signed-off-by: Dan Scott --- Open-ILS/src/templates/opac/parts/library/hours.tt2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/library/hours.tt2 b/Open-ILS/src/templates/opac/parts/library/hours.tt2 index 823701c7d8..d66832f256 100644 --- a/Open-ILS/src/templates/opac/parts/library/hours.tt2 +++ b/Open-ILS/src/templates/opac/parts/library/hours.tt2 @@ -1,7 +1,7 @@ [% time_format = ctx.get_org_setting(ctx.library.id, 'format.time'); - UNLESS time_fmt; - time_format = '%H:%M %p'; + UNLESS time_format; + time_format = '%l:%M %p'; END; USE date (format = time_format); -- 2.11.0