kpDateParser

This module depends on luxon library - https://moment.github.io/luxon/

Module Components

Directive

Name Description
kpDateParser

This directive converts model from date inserted by user to ISO format. Directive tries more formats specified in constant. If input does not match any format, ngModel is null.

Service

Name Description
dateParserService

Provider

Name Description
dateParserServiceProvider

Provider for kpDateParser directive providing default settings.