From: Dan Scott Date: Mon, 6 Jan 2014 18:19:17 +0000 (-0500) Subject: %l instead of %H if we're using AM/PM for default time formats X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c15d79eac06fb0127052d3bfca2441732a3112f4;p=working%2FEvergreen.git %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 --- 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);