Update table columns and grouping settings
This commit is contained in:
@@ -60,7 +60,11 @@ const getMonthNumber = (monthName: string) => {
|
||||
'November',
|
||||
'Desember'
|
||||
]
|
||||
return months.indexOf(monthName) + 1
|
||||
if (months.filter((month) => month.toLowerCase() === monthName.toLowerCase()).length > 0) {
|
||||
return months.indexOf(monthName) + 1
|
||||
} else {
|
||||
return 0
|
||||
}
|
||||
}
|
||||
|
||||
const reformatDate = (inputDate: string, originalFormat: string, targetFormat: string): string => {
|
||||
|
Reference in New Issue
Block a user