@fundamental-ngx/moment-adapter
TypeScript icon, indicating that this package has built-in type declarations

0.49.2 • Public • Published

Fundamental Moment date time adapter implementation

Moment.js status

Moment.js is a legacy project, now in maintenance mode. Same applies to this adapter, which is based on Moment.js. Please consider using @fundamental-ngx/datetime-adapter instead.

Description

Fundamental Date Picker, Time Picker, Date Time Picker and similar components rely on provided datetime implementation (DatetimeAdapter) and datetime formats (DateTimeFormats).

These components could be used with FdDatetimeAdapter, based on the JavaScript's native Date object, but one of the biggest shortcomings of the native Date object is the inability to set the parse format. As an alternative could be the MomentDateAdapter or a custom DateAdapter that works with the formatting/parsing library of your choice.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @fundamental-ngx/moment-adapter

    Weekly Downloads

    11,427

    Version

    0.49.2

    License

    Apache-2.0

    Unpacked Size

    95.2 kB

    Total Files

    13

    Last publish

    Collaborators

    • fundamental-ui