-
Notifications
You must be signed in to change notification settings - Fork 7
Any way to use local time for the "Connection Lost" time? #8
Description
The lost connection feature of the NetStatus appliance is really great. It's actually my main reason for deploying this project (I've got family who lives rural and they lose internet intermittently, which is annoying.) However, I noticed that the "Last online at XX:XX AM/PM" message on the connection lost screen is showing the UTC time.
Is there any way to use local time instead? For example, rather than 3:12 AM (UTC,) show 10:12 PM (CDT) if the timezone is properly set to America/Chicago (central daylight time.)
I've SSHed into the container and confirmed the timezone is set properly (using TZ environment variable.) here's the date command output.
/ # date
Tue Apr 27 22:24:24 CDT 2021
/ #
I'm using Balena to deploy and manage the container. It uses a separate container for the browser, so I theorized that maybe the issue was in that container, but SSHing into that container gives the same result (date command shows local time without issue.)
root@1269b11:/usr/src/app# date
Tue Apr 27 22:27:03 CDT 2021
root@1269b11:/usr/src/app#
Any thoughts?