Use a TPAC-settable TIME_FORMAT for local time formats user/dbs/lp1326149_library_hours_display
authorDan Scott <dscott@laurentian.ca>
Wed, 4 Jun 2014 17:09:48 +0000 (13:09 -0400)
committerDan Scott <dscott@laurentian.ca>
Wed, 4 Jun 2014 18:42:53 +0000 (14:42 -0400)
commit4ff92b78862c3363c5f7fac9fe3025d6a5e06743
tree8c7fb588a919547dc7a456e242083e4d8ef1772d
parent53b5adf0cf8098ec761f3b14c30d7789f9c6c942
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>
Open-ILS/src/templates/opac/parts/config.tt2
Open-ILS/src/templates/opac/parts/library/hours.tt2