Skip to content

Commit

Permalink
Include timezone with full date information
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Jul 22, 2014
1 parent 07c1777 commit c8b1aa7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions imp/lib/Message/Date.php
Expand Up @@ -132,8 +132,9 @@ public function format($format = 0)
}

if ($format === self::DATE_FORCE) {
return $this->_format('date_format', $udate) .
' [' . $this->_format('time_format', $udate) . ']';
return $this->_format('date_format', $udate) . ' [' .
$this->_format('time_format', $udate) . ' ' . strftime('%Z') .
']';
}

$this->_buildCache();
Expand Down

0 comments on commit c8b1aa7

Please sign in to comment.