changed weight reminder schedule
This commit is contained in:
1 parent
5abc7f6174
commit
856753b012
9 files changed
+84
-25
No files matched your search
@@ -0,0 +1,5 @@
|
||||
export const getReminderTimeZone = () => process.env.MILESTONE_REMINDER_TIME_ZONE?.trim() || 'America/New_York';
|
||||
|
||||
export const getReminderDate = (now = new Date()) => new Intl.DateTimeFormat('en-CA', {
|
||||
timeZone: getReminderTimeZone(), year: 'numeric', month: '2-digit', day: '2-digit',
|
||||
}).format(now);
|
||||
Reference in new issue
Block a user