LP#1402797 browser client interval parser
authorBill Erickson <berickxx@gmail.com>
Wed, 31 Dec 2014 20:28:48 +0000 (15:28 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 12 Feb 2015 17:03:08 +0000 (12:03 -0500)
commit75e466ec7beb7fa7a1af1eb2b430edaa492fc3dd
tree7a98b52bdd0af8a556948fcaed647c47dcd17487
parent8cc0b1c02681a4462313d4f2bdd1c7ab8c6d44e2
LP#1402797 browser client interval parser

Adds a new service on the core module for adding date handling
utilities.  Included in this commit is a new function:

egDate.intervalToSeconds(interval);

Includes Gruntfile additions and unit tests.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/templates/staff/base_js.tt2
Open-ILS/web/js/ui/default/staff/Gruntfile.js
Open-ILS/web/js/ui/default/staff/services/coresvc.js
Open-ILS/web/js/ui/default/staff/services/date.js [new file with mode: 0644]
Open-ILS/web/js/ui/default/staff/test/karma.conf.js
Open-ILS/web/js/ui/default/staff/test/unit/egDate.js [new file with mode: 0644]