LP#1402797 browser client interval parser
authorBill Erickson <berickxx@gmail.com>
Wed, 31 Dec 2014 20:28:48 +0000 (15:28 -0500)
committerMike Rylander <mrylander@gmail.com>
Thu, 8 Jan 2015 15:30:21 +0000 (10:30 -0500)
commitb577d392a5e2974e59197aaf74396d3a73085823
treeef8cfbba2dc80c5da0226506eb54e110a3fa5c2f
parent0bb2523420b52fe90c7de0e1dcbacf2afa133057
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]