fix actionable + lightmode

This commit is contained in:
Emily
2025-01-20 14:47:57 +01:00
parent 6b5d23566c
commit 3923a06e9b
4 changed files with 9 additions and 7 deletions

View File

@@ -27,7 +27,7 @@ export function getDefaultSnapshots(project_id: TProjectSnapshot['project_id'],
color: '#FF8531',
default: true
}
const lastMonth: DefaultSnapshot = {
project_id,
@@ -76,7 +76,7 @@ export function getDefaultSnapshots(project_id: TProjectSnapshot['project_id'],
project_id,
_id: '___allTime' as any,
name: 'All Time',
from: new Date(project_created_at.toString()),
from: fns.addMinutes(fns.startOfMonth(new Date(project_created_at.toString())), -new Date().getTimezoneOffset()),
to: new Date(Date.now()),
color: '#9362FF',
default: true