LP#1766716: Adjust date display logic
authorMike Rylander <mrylander@gmail.com>
Wed, 11 Jul 2018 20:51:59 +0000 (16:51 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 26 Jul 2018 18:59:15 +0000 (14:59 -0400)
commit76ff2328fdb1ec5ef1ff19056fb5a610bdda70d8
tree529ef6336877afcaab32a83ce72133e2fdaba49e
parent3f249b1cc43dd59da8ac640767b74a151bed7cb5
LP#1766716: Adjust date display logic

We were using the wrong date formating filter, egDueDate, and additionly the
egOrgDateInContext filter was defaulting to the useless 'shortDate' format in
cases where a format was not passed (such as when $root.egDateAndTimeFormat
can't be found).  Both of these are addressed here.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/templates/staff/admin/local/actor/closed_dates.tt2
Open-ILS/web/js/ui/default/staff/admin/local/actor/closed_dates.js
Open-ILS/web/js/ui/default/staff/services/ui.js