A smart date input directive that uses the Writer API to parse natural language dates.
Works only on Chrome. You need to enable the Writer API.
ng build @ngxpert/smart-date-inputng serveFor single date input:
<inputtype="text" smartDateInput(smartDateInputResponseReceived)="onResponseReceivedForSingleDate($event)" />For date range input:
<inputtype="text" smartDateInput[smartDateInputIsRange]="true" (smartDateInputResponseReceived)="onResponseReceivedForDateRange($event)" />Checkout src/app/app.html for more details.