fix(graph): fix copywriting nama hari

This commit is contained in:
Desy Ayurianti 2024-11-12 08:06:28 +07:00
parent 5ffd7fc241
commit 10dff91778

View File

@ -477,7 +477,7 @@ export class GraphComponent implements OnInit, AfterViewInit, OnDestroy, OnChang
convertDateToDay(dateString: string): string { convertDateToDay(dateString: string): string {
const date = new Date(dateString); const date = new Date(dateString);
const days = ['Sun', 'Mon', 'Tue', 'Wed', 'Thr', 'Fri', 'Sat']; const days = ['Sun', 'Mon', 'Tues', 'Wed', 'Thrus', 'Fri', 'Sat'];
return days[date.getDay()]; return days[date.getDay()];
} }