mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 03:13:42 -05:00
Previously, we were looking at the day of the week - so messages sent six days ago would show up as "tomorrow". We now look at the actual date, so that won't happen again. We were also subtracting an hour to make 00:00 this evening show up as "midnight today", despite it technically being tomorrow. However, this means that 00:59 tomorrow morning would show up as "00:59 today", a full day out. So reduce that to just a minute, so it doesn't affect other times of day.