Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
fix stat
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Dec 10, 2021
1 parent 4e7aeee commit 2f83c59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/components/stat.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ function groupData(orderList) {
let time = element.time[1].split("/");
console.log(time);
var year = time[2];
var day = time[1];
var month = time[0];
var day = time[0];
var month = time[1];
console.log(year, day, month);
if (!orderMap.get(year)) {
orderMap.set(year, new Map());
Expand Down

0 comments on commit 2f83c59

Please sign in to comment.