#3041 Report event date/time in browser timezone, not UTC (and note the timezone)
Opened 3 years ago by adamwill. Modified 3 years ago

Currently the web UI presents the date / time when events happened (e.g. when an issue was filed, or a comment added) primarily as relative - e.g. "an hour ago" - but with an absolute date/time as a mouseover (e.g. "Mar 05 2018 16:23:56"). This is about the mouseover absolute date/time.

The date / time given is in UTC, but this isn't actually noted. I think it'd be much nicer if the date / time given were in the user's local timezone, and the text actually specifically identified which timezone it was in. As a Pagure user, this is more useful to me than a date/time in UTC which doesn't even tell you it's in UTC.

I'm intending to work on this if I can find the time, just filing the issue to track it.


Metadata Update from @pingou:
- Issue assigned to adamwill
- Issue tagged with: RFE

3 years ago

https://pagure.io/pagure/pull-request/3143 at least should ensure the timezone is always specified in the string. It will still always be UTC, though. Localizing it turns out to be quite a bit harder, at least with my frontend dev skills.

Login to comment on this ticket.

Metadata