[Bug 71459] Wrong parsing of centuries and millennia

2014-11-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71459

--- Comment #4 from Gordon P. Hemsley gphems...@gphemsley.org ---
This will require substantial changes to the way such days are calculated.

The code is in:
*
https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FWikibase.git/7702b647e49cb445e34eb8a581adbbe0f9e29797/lib%2Fincludes%2Fparsers%2FMWTimeIsoParser.php
*
https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FWikibase.git/7702b647e49cb445e34eb8a581adbbe0f9e29797/extensions%2FWikibase%2Flib%2Fincludes%2Fformatters%2FMwTimeIsoFormatter.php

Right now, the precision of dates is calculated by extracting only the
significant digits. The insignificant digits are always 0. Turning 20.
century into 1901 instead of 2000 (and back again) will require additional
special logic.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 71459] Wrong parsing of centuries and millennia

2014-10-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71459

Henning bugzilla.d...@gmail.com changed:

   What|Removed |Added

 CC||bugzilla.d...@gmail.com
 Whiteboard|u=dev c=frontend p=0|u=dev c=backend p=0

--- Comment #3 from Henning bugzilla.d...@gmail.com ---
This is an issue of the back-end parser. Submitting 20. century to the parser
results in returning
{time:+2000-00-00T00:00:00Z,timezone:0,before:0,after:0,precision:7,calendarmodel:http://www.wikidata.org/entity/Q1985727}
as data value.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 71459] Wrong parsing of centuries and millennia

2014-09-30 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71459

Daniel Kinzler daniel.kinz...@wikimedia.de changed:

   What|Removed |Added

 CC||daniel.kinz...@wikimedia.de

--- Comment #1 from Daniel Kinzler daniel.kinz...@wikimedia.de ---
oops, should be to accurately represent the century between the start of 1901
and the end of 2000.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 71459] Wrong parsing of centuries and millennia

2014-09-30 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71459

Daniel Kinzler daniel.kinz...@wikimedia.de changed:

   What|Removed |Added

   Severity|normal  |critical

--- Comment #2 from Daniel Kinzler daniel.kinz...@wikimedia.de ---
setting to critical since this behavior causes silent loss of information
(the bad timestamp is only visible in the diff). The incorrect interval will
only become apparent once we start to run queries against dates.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 71459] Wrong parsing of centuries and millennia

2014-09-30 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71459

Lydia Pintscher lydia.pintsc...@wikimedia.de changed:

   What|Removed |Added

   Priority|Unprioritized   |High
 CC||lydia.pintscher@wikimedia.d
   ||e
 Whiteboard||u=dev c=frontend p=0

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l