fix goal page showing the wrong date when toggled to.
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-02-28 20:12:22 +01:00
parent 9558c8e547
commit 0bbe8b4896
+1 -1
View File
@@ -10,7 +10,7 @@
const mdGoalAdd: ModalData = {name: "goal.add"}; const mdGoalAdd: ModalData = {name: "goal.add"};
let minTime = formatFormTime($goalStore.filter.minTime || startOfWeek(new Date())); let minTime = formatFormTime($goalStore.filter.minTime || startOfWeek(new Date()));
let maxTime = formatFormTime(endOfWeek(new Date())); let maxTime = formatFormTime($goalStore.filter.maxTime || endOfWeek(new Date()));
$: { $: {
const min = new Date(minTime); const min = new Date(minTime);