Edit report at http://pear.php.net/bugs/bug.php?id=16801&edit=1
ID: 16801
Updated by: [email protected]
Reported By: jan at horde dot org
Summary: Wrong temperature calculation on current day
-Status: Open
+Status: Closed
Type: Bug
Package: Services_Weather
Package Version: 1.4.5
PHP Version: Irrelevant
-Assigned To:
+Assigned To: eru
Roadmap Versions:
New Comment:
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: eru
This bug has been fixed in SVN.
If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should
be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.
Thanks for the report!
Previous Comments:
------------------------------------------------------------------------
[2009-12-08 14:50:24] yunosh
No, because it depends on the data returned from the weather.com API. As
long as there is no mock driver in Services_Weather, it's not possible.
------------------------------------------------------------------------
[2009-12-08 14:05:04] doconnor
Any chance of a minor executable test script to fully demonstrate the
problem?
------------------------------------------------------------------------
[2009-11-18 23:09:38] yunosh
Added #patch bug:16801;patch:temperature.diff;revision:1258585778;.
------------------------------------------------------------------------
[2009-11-18 23:09:22] yunosh
Description:
------------
Using the weather.com driver, the temperature calculation goes wrong
when calculating temperatures from Fahrenheit to Celsius for the current
day, i.e. if weather.com doesn't provide the day information anymore,
because it's already afternoon. In this case, the weather.com API
returns "N/A" for most information.
------------------------------------------------------------------------