Skip to content

Commit

Permalink
Add the time property.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Aug 8, 2016
1 parent bb1c202 commit df9249d
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -46,6 +46,8 @@ public function __get($property)
case 'icon':
case 'icon_url':
return null;
case 'time':
return new Horde_Date($this->_properties['update']);
case 'pressure_trend':
return !empty($this->_properties['remark']['presschg'])
? $this->_properties['remark']['presschg']
Expand Down

0 comments on commit df9249d

Please sign in to comment.