burningmantech / ranger-ims-server

Ranger Incident Management System—Server
Apache License 2.0
28 stars 7 forks source link

Time zones in IMS might be confusing #1407

Closed srabraham closed 2 days ago

srabraham commented 1 week ago

The IMS APIs send times as ISO strings using UTC, which is great. It looks like all times in the IMS web UI are displayed in the user's browser's time zone (the result of running the below command). That's fine, but it's kind of ambiguous, since we never indicate any knowledge of time zones in the UI, and it would be reasonable for someone to assume all times are America/Gerlach.

console.log(Intl.DateTimeFormat().resolvedOptions().timeZone)
image