Last modified: 2012-08-26 21:02: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 T23127, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21127 - Protection log time/expiry uses UTC
Protection log time/expiry uses UTC
Status: NEW
Product: MediaWiki
Classification: Unclassified
Page protection (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
http://hr.wikipedia.org
: i18n
Depends on: 15897
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-13 13:09 UTC by Dalibor Bosits
Modified: 2012-08-26 21:02 UTC (History)
6 users (show)

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


Attachments

Description Dalibor Bosits 2009-10-13 13:09:20 UTC
Hi, this is protection log (example):

14:37, 13. listopada 2009. Dalibor Bosits (Razgovor | doprinosi | blokiraj) članak "Wikipedija:Stranica za vježbanje" je zaštićen [edit=autoconfirmed] (istječe 13:37, 13. listopada 2009. (UTC)) [move=autoconfirmed] (istječe 13:37, 13. listopada 2009. (UTC)) ‎ (ovo je test (1 sat))  (pov | promijeni stupanj zaštite)

This example page is protected at 14:37, with expiry of 1 hour. In the log it says it will expire at 13:37, instead 15:37.

Expiry is it seems defined by server time (at that time server time was 12:37), and local time at hr.wikipedia is UTC+2

This does not affect actual protection time, only expiry time displayed. Can it be fixed?

Haley
Comment 1 Brion Vibber 2009-10-14 17:31:50 UTC
That log entry seems to correctly mark the expiry time as UTC, which is correct... but it probably ought to be using the server default time as used for signatures etc.

Or better yet, format those using end-user timestamp... but this would require changing the log format to list the times and data out, then format them at view time. (Currently that whole chunk is built at save time, eg '[edit=autoconfirmed] (istječe 13:37, 13. listopada 2009. (UTC)) [move=autoconfirmed] (istječe 13:37, 13. listopada 2009. (UTC))')
Comment 2 db [inactive,noenotif] 2010-12-23 15:21:40 UTC
(In reply to comment #1)
> Or better yet, format those using end-user timestamp... but this would require
> changing the log format to list the times and data out, then format them at
> view time. (Currently that whole chunk is built at save time, eg
> '[edit=autoconfirmed] (istječe 13:37, 13. listopada 2009. (UTC))
> [move=autoconfirmed] (istječe 13:37, 13. listopada 2009. (UTC))')
that is bug 15897
Comment 3 Nemo 2012-08-26 21:02:55 UTC
Block has same problem: bug 28459.

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


Navigation
Links