]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1326149 Use a TPAC-settable TIME_FORMAT for local time formats
authorDan Scott <dscott@laurentian.ca>
Wed, 4 Jun 2014 17:09:48 +0000 (13:09 -0400)
committerBen Shum <bshum@biblio.org>
Thu, 26 Jun 2014 19:59:21 +0000 (15:59 -0400)
commit3e5d2695616622033778b21adddbb3b2566015ae
treedfd546f20951ff1247f76d3c0ff331fda02bdd9a
parent51314746409abd87706206969aff829ab9817fb4
LP#1326149 Use a TPAC-settable TIME_FORMAT for local time formats

We had tried to use the format.time library setting, but that is meant
for Dojo which uses the Unicode formats, that are incompatible with
the POSIX strftime() formats required by Template::Plugin::Date.

At the same time, we need to expose the raw machine-readable time
for schema.org consumers, so express that in a @content attribute.

And we might as well use a more meaningful <time> element instead of
the meaningless <span>, just for good measure.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/parts/config.tt2
Open-ILS/src/templates/opac/parts/library/hours.tt2