Increase email reminder period to once per day

This commit is contained in:
Eric Bailey
2024-06-13 14:10:17 -05:00
parent e28125c126
commit fcc87bddab
3 changed files with 46 additions and 28 deletions
+7
View File
@@ -61,3 +61,10 @@ export function getAge(birthDate: Date): number {
}
return age
}
export function toSimpleDateString(date: Date) {
const mm = date.getMonth() + 1 // 0-indexed
const dd = date.getDate()
const yyyy = date.getFullYear()
return `${yyyy}-${mm}-${dd}`
}