tweak display of times in staff scheduler
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 5 Jun 2020 18:48:01 +0000 (14:48 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 5 Jun 2020 20:35:21 +0000 (16:35 -0400)
commit1b3c36caf17a5d9e830cca16badff5cbdb1d171f
tree49fb867b7a3a18095b02654a4d843b95680b028a
parentfd020458642787e47a96bc7903d721453dae550b
tweak display of times in staff scheduler

Use Moment's LT format to format the time according to the
browser's locale. Not quite perfect, but does point out
a need for a "Format Time with this pattern" library setting
to match "Format Date+Time with this pattern" and "Format Dates with this pattern"

Also display the number of available slots left in the drop-down.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/circ/curbside/t_schedule_pickup.tt2
Open-ILS/web/js/ui/default/staff/circ/curbside/directives/schedule_pickup.js