Compare commits

..

No commits in common. "main" and "dev" have entirely different histories.
main ... dev

1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ export class User {
get_estimate_by_month(year: number, month: number): number {
const query = this._database.query(ESTIMATES_DATABASE_GET_QUART);
const res = query.get({ year: year, quarter: Math.floor((month-1) / 3)+1 }) as EstimatesEntry;
const res = query.get({ year: year, quarter: Math.floor((month-1) / 3) }) as EstimatesEntry;
return res?.[`estimate_${(month - 1) % 3}`] ?? NaN;
}