LP#1402797 browser client interval parser
authorBill Erickson <berickxx@gmail.com>
Wed, 31 Dec 2014 20:28:48 +0000 (15:28 -0500)
committerKathy Lussier <klussier@masslnc.org>
Wed, 11 Feb 2015 21:29:08 +0000 (16:29 -0500)
commit4e4563d11371a0dfb9ad1f86c15b02129f9963f0
tree7a98b52bdd0af8a556948fcaed647c47dcd17487
parenta6d7164c2035b5a54faad8cd001e5dc63f49866c
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]