LP1834662: Various fixes to the datetime select
authorJane Sandberg <sandbej@linnbenton.edu>
Sun, 7 Jul 2019 20:40:27 +0000 (13:40 -0700)
committerBill Erickson <berickxx@gmail.com>
Mon, 26 Aug 2019 15:47:45 +0000 (11:47 -0400)
commit0dc564508af0d7faf4329faf04301aa52ce8f2cf
treecf7e1ee6a0d8d9a2c7216c1e84023329befa6733
parent5f66a6106c005548e46dc23df70a6d84c4711ae9
LP1834662: Various fixes to the datetime select

* Adds the caret specifier to package.json and bumps up the version of
moment-timezone
* Adds an example of the egValidDatetime directive
* Makes the makeFormatParseable function localizable
* Gets rid of an error when this component is used without ngModel or
reactive forms
* Fixes various linting errors
* Closes the datetimepicker if the user opens another datetimepicker

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/package.json
Open-ILS/src/eg2/src/app/core/format.service.ts
Open-ILS/src/eg2/src/app/core/format.spec.ts
Open-ILS/src/eg2/src/app/share/daterange-select/daterange-select.component.spec.ts
Open-ILS/src/eg2/src/app/share/datetime-select/datetime-select.component.html
Open-ILS/src/eg2/src/app/share/datetime-select/datetime-select.component.ts
Open-ILS/src/eg2/src/app/share/validators/datetime_validator.directive.ts
Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html
Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.ts