Page MenuHomePhabricator

Make MediaWiki consistent in how it displays time
Open, NormalPublic

Description

Split off from Bug 27858 comment 6:

Its unclear if this bug is the result of people being confused by localizing
the time in the log excerpt (/me personally has never liked how we only modify
some timestamps for timezone),

Whenever time is used in MediaWiki, it should be shown in a consistent matter.

This is a tracking bug to find areas where the display of time is not UTC or however we decide time should be displayed (e.g. the user's time zone)


Version: unspecified
Severity: normal

Details

Reference
bz29235

Related Objects

StatusAssignedTask
OpenNone
OpenNone
ResolvedUmherirrender
OpenNone
OpenNone
ResolvedNone
Resolvedvvv
ResolvedKrenair
DeclinedNone
ResolvedNone
ResolvedUnicodesnowman
OpenNone
OpenNone
DuplicateNone
ResolvedNone
ResolvedNone
Resolved revi
StalledNone
ResolvedMhutti1
OpenNone
OpenNone
OpenNone
ResolvedAmire80
OpenNone

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 21 2014, 11:36 PM
bzimport set Reference to bz29235.
bzimport added a subscriber: Unknown Object (MLST).

As a start it'd perhaps be nice to specify timezones anywhere we use the user's local time from preferences.

EN.WP.ST47 wrote:

Add tracking keyword

stefan.harwarth wrote:

It may be not exactly in the scope of this bug, but the wfDebugLog function always uses GMT and neither the OS timezone nor the $wgLocaltimezone. This behaviour makes it pretty hard to combine log files from Mediawiki and e.g. apache.

daniel wrote:

Related:

  • Bug 62713 - wfDebugLog timestamp should show fraction of second (includes patch)
  • Bug 14601 - Use wfDebugLog instead of wfDebug by default
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 10 2015, 7:37 PM
Meno25 removed a subscriber: Meno25.Feb 22 2016, 5:41 PM
Nemo_bis renamed this task from MediaWiki is inconsistent in how it displays time (tracking) to Make MediaWiki consistent in how it displays time.Jul 24 2016, 8:27 PM
Nemo_bis edited projects, added Epic; removed Tracking-Neverending.

I just learnt the situation is getting even worse, due to the inclusion of yet another date formatting system i.e. moment.js (in DateinputWidget and perhaps other places). See T120733#2906064.