Last modified: 2014-11-19 16:13:47 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 T75613, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73613 - Rounding errors lead to 60 mins/secs in Geo formatters
Rounding errors lead to 60 mins/secs in Geo formatters
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: High normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on: 64820
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-19 15:50 UTC by Thiemo Mättig
Modified: 2014-11-19 16:13 UTC (History)
2 users (show)

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


Attachments

Description Thiemo Mättig 2014-11-19 15:50:07 UTC
This depends on the precision. The example value 47.7 is correctly formatted as 47°42' most of the time but 47°41'60" in rare cases.

Example:
/w/api.php?action=wbformatvalue&datavalue={"value":{"latitude":47.7,"longitude":15.45,"precision":0.00000277778},"type":"globecoordinate"}

This was reported in bug 64820 and split as a separate issue.

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


Navigation
Links