only update with id = today

This commit is contained in:
Darius
2026-02-09 00:39:50 +01:00
parent 92ff251021
commit ff66061c32
4 changed files with 16 additions and 13 deletions

View File

@@ -33,7 +33,7 @@ export class GristService extends BaseService<GristClient> {
}
}
private getTodayAsId() {
getTodayAsId() {
const now = DateTime.now().setZone("Europe/Berlin");
const start = DateTime.fromObject(
{ year: now.year, month: 1, day: 1, hour: 0, minute: 0 },