Opened 20 years ago
Closed 20 years ago
#783 closed defect (bug) (fixed)
[Dashboard] Upcoming posts show GMT timediff instead of local timediff
Reported by: | sethkinast | Owned by: | matt |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 1.5 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
If I create a post and set it to a time in the future, Dashboard shows me when the post will appear. However, it shows when the post will appear with relation to GMT, rather than respecting my local timezone.
One solution (diff attached) is to *subtract* the offset from time() since it is being passed as the leftside argument to human_time_diff().
Attachments (1)
Change History (6)
#3
@
20 years ago
I surely wouldn't think so, or at least that is not intuitive. I pre-posted a post to show up at midnight today; my offset is GMT -6. At 11:00 p.m. the Dashboard informed me my post would appear in 7 hours. Nope, 1 :)
Note: See
TracTickets for help on using
tickets.
Isn't that expected behavior? It seems to display everything in UTC times.