[APPS-2159][APPS-2163] Moment to date-fns migration.

This commit is contained in:
Aayush Rohila
2023-09-28 10:13:26 +05:30
parent a488a729eb
commit be03a7c345
3 changed files with 17 additions and 12 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'
};
/**