Skip to content

How to add format date to dd/mm/yyyy with ng-pick-datetime-moment angular 8 update #2

@maheshpolus

Description

@maheshpolus

Thanks for migrating from the old library but i got stuck with this.
how to format the date i was updating from angular 5 to 8.
import { OwlMomentDateTimeModule } from 'ng-pick-datetime-moment';
I have installed moment
this is my build error
ERROR in ../ng-pick-datetime-moment/moment-adapter/moment-date-time.module.ts(22,2): Error during template compile of 'OwlMomentDateTimeModule'
Function calls are not supported in decorators but 'ɵmakeDecorator' was called in 'NgModule'
'NgModule' calls 'ɵmakeDecorator'.
also date on the UI is mm/dd/yyyy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions