Moved from moment to luxon.
Report Printing is not a post not a get.
This commit is contained in:
@@ -8,7 +8,7 @@ import {
|
||||
provideZonelessChangeDetection,
|
||||
} from '@angular/core';
|
||||
import { ReactiveFormsModule } from '@angular/forms';
|
||||
import { MomentDateAdapter } from '@angular/material-moment-adapter';
|
||||
import { LuxonDateAdapter } from '@angular/material-luxon-adapter';
|
||||
import { MatButtonModule } from '@angular/material/button';
|
||||
import { DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE } from '@angular/material/core';
|
||||
import { MatDialogModule } from '@angular/material/dialog';
|
||||
@@ -71,7 +71,7 @@ export const appConfig: ApplicationConfig = {
|
||||
}),
|
||||
withComponentInputBinding(),
|
||||
),
|
||||
{ provide: DateAdapter, useClass: MomentDateAdapter, deps: [MAT_DATE_LOCALE] },
|
||||
{ provide: DateAdapter, useClass: LuxonDateAdapter, deps: [MAT_DATE_LOCALE] },
|
||||
{ provide: MAT_DATE_FORMATS, useValue: dateFormat },
|
||||
{ provide: MAT_SNACK_BAR_DEFAULT_OPTIONS, useValue: { duration: 3000 } },
|
||||
provideZonelessChangeDetection(),
|
||||
|
||||
Reference in New Issue
Block a user