feat: add housekeeping module for household staff management
* Adding flexible reminder options to birthdays * Fix database migration merge conflict * Truncate calendar popup descriptions * Log app version on backend startup * Add host-mounted data and backup folders * feat: add housekeeping module * fix: align housekeeping UI and add task creation * refactor: rebuild housekeeping experience * feat: support multiple housekeeping staff * feat: integrate housekeeping visits with calendar * feat: refine housekeeping visits and payments * feat: add housekeeping staff visit logs * feat: add housekeeping receipts and document folders * feat: localize housekeeping folders and chores * feat: refine housekeeping tabs and document folders * fix: sync housekeeping tab active state * feat: use configured app name in onboarding and manifest
This commit is contained in:
@@ -57,8 +57,7 @@ function getOffsetMinutes(birthday) {
|
||||
|
||||
function birthdayReminderAt(birthDate, offsetMin = 0, from = new Date()) {
|
||||
const next = nextBirthdayDate(birthDate, from);
|
||||
const baseTime = new Date(`${next}T12:00:00Z`).getTime();
|
||||
return new Date(baseTime - (offsetMin || 0) * 60000).toISOString();
|
||||
return `${next}T12:00:00Z`;
|
||||
}
|
||||
|
||||
function eventTitle(name) {
|
||||
|
||||
Reference in New Issue
Block a user