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 20:00:36 +0000 (16:00 -0400)
commit9d05523f6230f2006d68cebfbcc245ed6bb6b59b
treea10c9292614166da61cb68431c098bb7ab7409af
parentbd523b6656b9fa97e159c713b17e5e624b39ee3a
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