This commit is contained in:
@ -115,7 +115,7 @@ PlayerSchema.methods.sortStatisticHistory = function (): Map<
|
||||
Date.parse(b[0]) - Date.parse(a[0]),
|
||||
)
|
||||
// Convert the date strings back to Date objects for the resulting Map
|
||||
.map(([date, history]) => [new Date(date).toUTCString(), history]),
|
||||
.map(([date, history]) => [formatDateMinimal(new Date(date)), history]),
|
||||
);
|
||||
return this.statisticHistory;
|
||||
};
|
||||
|
Reference in New Issue
Block a user