Nothing, Plus More

    @conclurer/date-to-format-pipe
    TypeScript icon, indicating that this package has built-in type declarations

    1.1.3 • Public • Published

    Angular 2 Date to Format Pipe

    Angular 2 Pipe that transforms a date sting into a formatted date using Moment.js

    Usage:

    <div>Year: {{'2016-09-14T19:00Z' | dateToFormat: 'YYYY'}}</div>

    Will render to:

    <div>Year: 2016</div>

    See Moment.js docs for full display options.

    Feel free to contribute.

    Install

    npm i @conclurer/date-to-format-pipe

    DownloadsWeekly Downloads

    42

    Version

    1.1.3

    License

    MIT

    Last publish

    Collaborators

    • julian_bm
    • lemonlime
    • can557
    • mc17uulm
    • unkn0wn9009
    • maehldom
    • marvinscharle