Simple responsive Angular date and time picker.
npm install --save nxt-pick-datetime
npm install --save moment # if you want to use MomentDateTimeModuleThe date & time picker was built to be date implementation agnostic. It comes with two date adapter implementations, or you can provide your own adapter by implementing DateTimeAdapter (see documentation).
provideNativeDateTimeAdapter - support for native JavaScript Date objectprovideNativeDateTimeAdapter - support for MomentJsimport { ApplicationConfig } from '@angular/core'
import { provideNativeDateTimeAdapter } from 'nxt-pick-datetime/native-adapter'
export const appConfig: ApplicationConfig = {
providers: [
provideNativeDateTimeAdapter()
]
}<input [nxtDateTime]="picker"
[nxtDateTimeTrigger]="picker"
placeholder="Date and time">
<nxt-date-time #picker></nxt-date-time>