From d38ef46d258cec3a467a28763fa23354598ce2ae 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 Signed-off-by: Dan Wells --- 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.43.2