Page MenuHomePhabricator

Block date cannot correctly displayed if the block have been changed since the block was set
Closed, ResolvedPublic

Description

The above part is the place for enter block length and below is the log entry. Pay attention on the ending date of the block.

See http://test.wikipedia.org/w/index.php?title=Special:Log/block&page=User%3AExample
I changed the block date manually after I set the block, but I haven't change the Sat/Tue something like that, and block log shows:

  • 14:47, 11 August 2012 Waihorace (talk | contribs | block) changed block settings for Example (talk | contribs) with an expiry time of Sun, 15 Aug 2012 14:48:00 GMT (autoblock disabled) (Test: Investigating possible bug on zhwiki) (unblock | change block)
  • 14:45, 11 August 2012 Waihorace (talk | contribs | block) changed block settings for Example (talk | contribs) with an expiry time of Sun, 18 Aug 2012 14:46:00 GMT (autoblock disabled) (Test: Investigating possible bug on zhwiki) (unblock | change block)
  • 14:43, 11 August 2012 Waihorace (talk | contribs | block) changed block settings for Example (talk | contribs) with an expiry time of Sat, 12 Aug 2012 14:43:30 GMT (autoblock disabled) (Test: Investigating possible bug on zhwiki) (unblock | change block)
  • 14:41, 11 August 2012 Waihorace (talk | contribs | block) changed block settings for Example (talk | contribs) with an expiry time of Tue, 14 Aug 2012 14:42:00 GMT (autoblock disabled) (Test: Investigating possible bug on zhwiki) (unblock | change block)

14 Aug is a Tuesday, this correct. 12 Aug is a Sunday, but it shows Saturday. 18 Aug is Saturday, not Sunday. 15 Aug is Wednesday also, but it shows Sunday.
However, it only appear in logs. In the [[Special:BlockList]] and the block page (the date inputbox), it display correctly as attached.
It seems a bug and should be fixed.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=43047

Attached:

test1.jpg (771×1 px, 179 KB)

Details

Reference
bz39265

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:11 AM
bzimport set Reference to bz39265.
bzimport added a subscriber: Unknown Object (MLST).

This is fixed now as a part of what I30a1950d addresses, by always reformatting block expiry when displaying them based on what the system gets when interpreting raw input values.