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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 5696 - Message in watchlist is missing timezone adjustment
Message in watchlist is missing timezone adjustment
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  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: ---


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

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.