Closed themastersoda closed 7 years ago
As you see here, https://github.com/ng2-ui/ng2-datetime-picker/blob/master/src/datetime-picker.directive.ts#L206, the element has its dateValue
, and the value you see is toString()
of model value. model value is not always a string either. If you want to access date please use dateValue
Hi, im looking for a way to display date string inside the input in one format, but set model value to a different one. It seems, that now both use the same function to parse date into string. Would it be possible to customize both of those separately?