Last modified: 2006-05-01 00:12:55 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T7696, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5696 - Message in watchlist is missing timezone adjustment
Message in watchlist is missing timezone adjustment
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/MediaWik...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-24 03:00 UTC by jdsmet
Modified: 2006-05-01 00:12 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description jdsmet 2006-04-24 03:00:00 UTC
On the "My watchlist" page, the dates and times of the actual changes listed are
properly adjusted for the user's timezone. 
The message "Below are the last xx changes in the last x days, as of xx:xx, xxx
xx (UTC)."
is not.

I think it makes sense to display that message using the user's local time
instead of UTC, which would make it a lot easier to calculate how old a certain
change is.
Comment 1 Rob Church 2006-04-25 12:47:48 UTC
I'm going to assume this is an English Wikipedia user...the message there does
provide this time and date information, however, it is done via a customisation
to the interface message; they're using {{CURRENTDAY}} et al. to produce the
time and date, which does so in UTC.

We could consider adding a $3 parameter to the message which would contain a
timestamp adjusted to the user's timezone settings, however.
Comment 2 jdsmet 2006-04-25 13:32:12 UTC
Correct this is on en.wikipedia.org

On a possibly related note, the timestamp that gets shown as the result of a
~~~~ appears to have the same issue.
Comment 3 Rob Church 2006-04-25 13:45:30 UTC
(In reply to comment #2)
> On a possibly related note, the timestamp that gets shown as the result of a
> ~~~~ appears to have the same issue.

It's correct that these are related, although the latter can't be fixed. The
text that is saved into the database has UTC preserved to ensure that it looks
the same for all users, regardless of timezone issues.

The case this bug reports can be fixed, because that text isn't saved into the
database as part of a content page.
Comment 4 Rob Church 2006-05-01 00:12:55 UTC
Third parameter ($3), containing the current time formatted according to the
current user's settings, added in SVN trunk, r13984.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links