Skip to content

Commit

Permalink
Bug: 14289 Fix accessing timezone offset in WWO.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Mar 16, 2016
1 parent 7ba9e0a commit 88385c4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -289,7 +289,7 @@ protected function _parseStation($station)
if (isset($station->timezone)) {
// Only the *current* UTC offset is provided, with no indication
// if we are in DST or not.
$properties['tz'] = $station->timezone[0]->offset;
$properties['tz'] = $station->timezone->offset;
}

return new Horde_Service_Weather_Station($properties);
Expand Down

0 comments on commit 88385c4

Please sign in to comment.