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>
Wed, 31 Dec 2014 20:28:48 +0000 (15:28 -0500)
commitf290f1704f5721b059e8d22fd8dbf7d018b5ed80
tree13d366f76d6ad97590906ef3f231512e7d427b6c
parentdd559123e9a11b9ac08c807c5a8edbd025124da2
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>
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]