Skip to content

Latest commit

 

History

History

README.md

@fundamental-ngx/datetime-adapter

npm version npm REUSE status

Description

Date/time adapter based on Day.js for Fundamental NGX date and time components (Date Picker, Time Picker, DateTime Picker, etc.).

These components rely on the DatetimeAdapter abstraction. This package provides DayjsDatetimeAdapter as an alternative to the built-in FdDatetimeAdapter (based on native Date), adding reliable parse format support.

Installation

npm install @fundamental-ngx/datetime-adapter dayjs

Usage

import { provideDatetimeAdapter } from '@fundamental-ngx/datetime-adapter';

// In your application config or module providers:
provideDatetimeAdapter();

See the documentation for full configuration and format customization options.