LP1834662: Various fixes to the datetime select
authorJane Sandberg <sandbej@linnbenton.edu>
Sun, 7 Jul 2019 20:40:27 +0000 (13:40 -0700)
committerJane Sandberg <sandbej@linnbenton.edu>
Sun, 4 Aug 2019 23:38:25 +0000 (16:38 -0700)
commit40f5019c31da51772bf799517d31fc473d97b912
tree454edd1f0e2e6986414b3970ec762cd4460a371f
parent58b43c79310891dc140e2d74092f14eaf8882d29
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>
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