Skip to content

Commit

Permalink
use start instead of end date to match statistics card
Browse files Browse the repository at this point in the history
  • Loading branch information
RomRider committed Apr 21, 2022
1 parent 7f769aa commit 45bd399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphEntry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export default class GraphEntry {
lastNonNull,
);

return [new Date(item.end).getTime(), !Number.isNaN(stateParsed) ? stateParsed : null];
return [new Date(item.start).getTime(), !Number.isNaN(stateParsed) ? stateParsed : null];
});
}
} else {
Expand Down

0 comments on commit 45bd399

Please sign in to comment.