[Bug 73613] New: Rounding errors lead to 60 mins/secs in Geo formatters
| Newsgroups | gmane.org.wikimedia.mediawiki.bugs |
|---|---|
| Message-ID | <[email protected]/> |
https://bugzilla.wikimedia.org/show_bug.cgi?id=73613
Bug ID: 73613
Summary: Rounding errors lead to 60 mins/secs in Geo formatters
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Web browser: ---
Mobile Platform: ---
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l