LP1834662: Various fixes to the datetime select user/sandbergja/lp1834662_add_date_components_to_angular
authorJane Sandberg <sandbej@linnbenton.edu>
Sun, 7 Jul 2019 20:40:27 +0000 (13:40 -0700)
committerJane Sandberg <sandbej@linnbenton.edu>
Thu, 11 Jul 2019 14:10:40 +0000 (07:10 -0700)
commit8a942222f9b0223a84fe2a96c201034f00bd537c
tree52684644ccacf3688054d146f8f823dce1578665
parent383789928f0c75b079d0e8adaade805632dffdae
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