FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=16801&edit=1

ID: 16801
Updated by: daniel.oconnor@gmail.com
Reported By: jan at horde dot org
Summary: Wrong temperature calculation on current day
Status: Open
Type: Bug
Package: Services_Weather
Package Version: 1.4.5
PHP Version: Irrelevant
Roadmap Versions:
New Comment:

Any chance of a minor executable test script to fully demonstrate the
problem?


Previous Comments:
------------------------------------------------------------------------

[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.

------------------------------------------------------------------------

Search Discussions

  • Jan at Dec 8, 2009 at 1:50 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=16801&edit=1

    ID: 16801
    Updated by: jan@horde.org
    Reported By: jan at horde dot org
    Summary: Wrong temperature calculation on current day
    Status: Open
    Type: Bug
    Package: Services_Weather
    Package Version: 1.4.5
    PHP Version: Irrelevant
    Roadmap Versions:
    New Comment:

    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.


    Previous Comments:
    ------------------------------------------------------------------------

    [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.

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedDec 8, '09 at 1:05p
activeDec 8, '09 at 1:50p
posts2
users2
websitepear.php.net

2 users in discussion

Daniel Oconnor: 1 post Jan: 1 post

People

Translate

site design / logo © 2022 Grokbase