update for partial polling, add grist
This commit is contained in:
@@ -35,13 +35,13 @@ export class GristService extends BaseService<GristClient> {
|
||||
}
|
||||
}
|
||||
|
||||
getTodayAsId(date = new Date()) {
|
||||
private getTodayAsId(date = new Date()) {
|
||||
const start = new Date(date.getFullYear(), 0, 0);
|
||||
const diff = date.getTime() - start.getTime();
|
||||
return Math.floor(diff / 86400000);
|
||||
}
|
||||
|
||||
transformToPersonalGoals(
|
||||
private transformToPersonalGoals(
|
||||
obj: Record<string, unknown>,
|
||||
): GristRecord_PersonalGoals {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user