Skip to content

Commit

Permalink
Set the timezone here too.
Browse files Browse the repository at this point in the history
Is this really GMT or rather UTC? The difference is of semantical nature, but still.
  • Loading branch information
yunosh committed Sep 2, 2016
1 parent b4606e8 commit e3a0c34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -107,7 +107,7 @@ public function __get($property)
case 'icon_url':
return null;
case 'time':
return new Horde_Date($this->_properties['update']);
return new Horde_Date($this->_properties['update'], 'GMT');
case 'pressure_trend':
return !empty($this->_properties['remark']['presschg'])
? $this->_properties['remark']['presschg']
Expand Down
Expand Up @@ -93,7 +93,7 @@ public function getRawData()
*/
public function getForecastTime()
{
return new Horde_Date($this->_properties['update']);
return new Horde_Date($this->_properties['update'], 'GMT');
}

protected function _parsePeriods()
Expand Down

0 comments on commit e3a0c34

Please sign in to comment.