Last modified: 2014-09-26 06:27:19 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 T59930, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57930 - Representation of time inside TimeValue objects should depend on the calendar model
Representation of time inside TimeValue objects should depend on the calendar...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks: 59766
  Show dependency treegraph
 
Reported: 2013-12-03 16:28 UTC by Daniel Kinzler
Modified: 2014-09-26 06:27 UTC (History)
5 users (show)

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


Attachments

Description Daniel Kinzler 2013-12-03 16:28:00 UTC
Calendars may use different representations of time; For each calendar, there would be a well defined internal representation (as a DataValue of some time), complete with renderers and parsers. For the gregorian Calendar for instance, there could be an IsoTimeValue.

Formatters/parsers for the "inner" time would take care of localization. The "outer" formatter/parser would take care of the precision/range, the time zone (really?), and the calendar model.
Comment 1 Sergey Vladimirov 2014-09-26 06:27:19 UTC
I believe it shall be different data type. Default datatype (used for p569/p70 of real people) should have consistent uniform intenal represantation (current, for example) that does not depends on calendar model. It's the only wayto make range queries simple and fast.

Proposeto change priority from normal to low because of that and raise priority of fixing the ui calendarmodel conversion and display.

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


Navigation
Links