[APPS-2135][APPS-2155] Moment to date-fns migration.

This commit is contained in:
Aayush Rohila
2023-10-05 13:48:37 +05:30
parent a488a729eb
commit 5e51f70ea4
5 changed files with 59 additions and 56 deletions
@@ -86,7 +86,8 @@ export class DateFnsUtils {
static momentToDateFnsMap = {
D: 'd',
Y: 'y',
A: 'a'
A: 'a',
ll: 'PP'
};
/**
@@ -95,7 +96,8 @@ export class DateFnsUtils {
static dateFnsToMomentMap = {
d: 'D',
y: 'Y',
a: 'A'
a: 'A',
PP: 'll'
};
/**