ojosproject / iris

Iris, the at-home hospice management system by the Ojos Project. Made with 💙💛 at UCI.
https://ojosproject.org/iris/
GNU General Public License v3.0
1 stars 1 forks source link

Program considers 5:35 PM "morning" #27

Closed calejvaldez closed 4 weeks ago

calejvaldez commented 2 months ago

Summary

The program says "good morning" at 5:35 PM, even though it's well into the evening.

What is the expected correct behavior?

The program to say "good evening".

Steps to reproduce

Open the program at around 5 PM.

Relevant logs and/or screenshots

Problem saying "Good morning" at 5:35 PM

Operating System

macOS

calejvaldez commented 2 months ago

Problem will be here:

https://github.com/ojosproject/iris/blob/403506ebf78c5c843b144c8199034efb595fab33/src/app/components/HubHeader.tsx#L8-L20

Timestamp of when the error happened: 1726274100

calejvaldez commented 4 weeks ago

... this will be fixed with a simple hour >= 17... whoops.