ipfs-webui icon indicating copy to clipboard operation
ipfs-webui copied to clipboard

Graph in 'Status' page doesn't use local time

Open Winterhuman opened this issue 3 years ago • 3 comments

Describe the bug Right now, it's 14:15 BST, however, the Status page shows 13:15 in the incoming-outgoing graph; it's using universal time instead of local time.

To Reproduce

  1. Go to the Status page.
  2. Use a timezone whose local time is different to universal time.
  3. See the incoming-outgoing graph showing universal times.

Expected behavior If possible, the WebUI should use local time instead of universal time.

Desktop

  • OS: Arch Linux
  • Browser: Firefox v103.0.2
  • Version: v2.15.1

Winterhuman avatar Aug 09 '22 13:08 Winterhuman

Thanks for submitting this issue @Winterhuman! I added some labels so that someone with extra time can take this on to map the UTC time that Kubo returns to a local timezone in the UI layer.

SgtPooki avatar Sep 12 '22 17:09 SgtPooki

Just reconfirmed that this is still present in version 2f9f306

Winterhuman avatar Jun 17 '23 21:06 Winterhuman

Hi @Winterhuman and @SgtPooki, I'm trying to fix this issue. When I change the local system time to a different value, wait a few seconds and then reload the page, then the graph shows the updated time, so I think that the issue might be resolved. Can you please confirm? Thanks

oribro avatar Dec 06 '23 13:12 oribro