From 45bd399abad912fce468a8b6e25ac5d82f86171c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Wiedemann?= Date: Thu, 21 Apr 2022 21:27:42 +0000 Subject: [PATCH] use start instead of end date to match statistics card --- src/graphEntry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphEntry.ts b/src/graphEntry.ts index 2ba2d9b..ca4bc6e 100644 --- a/src/graphEntry.ts +++ b/src/graphEntry.ts @@ -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 {