Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.4.7

Bug #16801 Wrong temperature calculation on current day
Submitted: 2009-11-19 04:09 UTC
From: yunosh Assigned: eru
Status: Closed Package: Services_Weather (version 1.4.5)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 28 + 30 = ?

 
 [2009-11-19 04:09 UTC] yunosh (Jan Schneider)
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.

Comments

 [2009-11-19 04:09 UTC] yunosh (Jan Schneider)
 [2009-12-08 19:05 UTC] doconnor (Daniel O'Connor)
Any chance of a minor executable test script to fully demonstrate the problem?
 [2009-12-08 19:50 UTC] yunosh (Jan Schneider)
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.
 [2011-07-26 20:27 UTC] eru (Alexander Wirtz)
-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!