Page MenuHomePhabricator

Implement value formatter for time data type
Closed, ResolvedPublic

Description

We need a value formatter for the time data type. It's needed for stuff like property parser function, diff view, etc.


Version: master
Severity: critical

Details

Reference
bz48937

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.
bzimport set Reference to bz48937.
bzimport added a subscriber: Unknown Object (MLST).
aude created this task.May 29 2013, 1:01 PM
  • Bug 49206 has been marked as a duplicate of this bug. ***

Note that the formatting of dates does not only depend on the user's locale, but may also be personalized in the user's preferences. We need to decide whether we want to account for personalization when rendering dates (if so, should the personal time zone setting also be applied? In general, MediaWiki does not apply this to content, only to listings).

Is any specific person working on / assigned to this, as it's highest priority?

Change 74599 had a related patch set uploaded by Daniel Werner:
Implemented ValueFormatter for Time DataValue

https://gerrit.wikimedia.org/r/74599

Change 74599 merged by Jeroen De Dauw:
(bug 48937) ValueFormatter for Time DataValue

https://gerrit.wikimedia.org/r/74599

Change 76936 had a related patch set uploaded by Jeroen De Dauw:
Revert "(bug 48937) ValueFormatter for Time DataValue"

https://gerrit.wikimedia.org/r/76936

Change 76936 merged by jenkins-bot:
Revert "(bug 48937) ValueFormatter for Time DataValue"

https://gerrit.wikimedia.org/r/76936

The basic formatter is implemented. Additional improvements (e.g. proper localization) is tracked in bug 48962.