Increase email reminder period to once per day
This commit is contained in:
@@ -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}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user