WIP: ng-time-value-accessor
A time value accessor for Angular 5+, can be used for input[time]. Instead of 'hh:mm', the time will be converted to seconds since '00:00'.
Examples:
Add the attribute timeAsSec
to a date input control:
OR
Installation:
Install the package via yarn/npm:
yarn add ng-time-value-accessornpm install --save ng-time-value-accessor
Then import the module via NgModule:
// app.module.ts ; @ {}