Page MenuHomePhabricator

getHumanTimestamp issues (tracking)
Open, MediumPublic


Tracking bug to understand MWTimestamp::getHumanTimestamp() should really do.

Additionally this function can be hooked (as it is done by Extension:CLDR) and
it is difficult to predict what should be its expected output.

Version: unspecified
Severity: normal
See also: T69959: The "ago" mechanism is untranslatable due to sentence split
Whiteboard: leteam?



Related Objects

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:21 AM
bzimport set Reference to bz64430.
bzimport added a subscriber: Unknown Object (MLST).
saper created this task.Apr 25 2014, 12:40 PM



saper added a comment.Dec 7 2014, 12:18 PM

Links translated:

  1. Id1fb340c5f5e6f100e5227d0dfdb4a3001d8fb9e
  2. I50e28f601944955ac85e0a847941d7b4824e51e3
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 15 2015, 9:10 AM

I am almost opposing the use of so called human readable time stamps like "a day ago" etc..

They are unsuited for listings. Constant format changes inside columns, unchanged list content but changing appearance depending on when you (re-)request a list are just awful for readers.

Maybe, they may be acceptable inside sentences, yet I do not want them almost always.

Possibly, a user setting enabling or disabling them would be a solution unless I can talk you out of them.

@Purodha Can you name the places which you think these are not appropriate? Perhaps in separate tasks, because I do not think that is something the i18n people should necessarily be working on.

@Purodha: Can you answer the last comment by @Nikerabbit please?

Aklapper renamed this task from getHumanTimestamp issues to getHumanTimestamp issues [tracking].Feb 16 2016, 3:21 PM
Aklapper lowered the priority of this task from High to Medium.
Aklapper removed a subscriber: wikibugs-l-list.

@Purodha: Can you answer the last comment by @Nikerabbit please?

For instance in lists. I wrote so already.

@Purodha That is not specific enough to help anyone even verify the problem. I am asking exact places. I am expecting screenshots, URLs or functions in code.

Nemo_bis renamed this task from getHumanTimestamp issues [tracking] to getHumanTimestamp issues (tracking).Jun 10 2016, 5:52 PM
Danny_B removed a subscriber: Language-Team.
Amire80 moved this task from Untriaged to Date and time on the I18n board.