Skip to content

Commit

Permalink
Another place to revert for Bug: 13400
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jul 29, 2014
1 parent b20f311 commit 674e911
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imp/lib/Mime/Viewer/Itip.php
Expand Up @@ -546,8 +546,8 @@ protected function _vEventException($vevent, $id, $method = 'PUBLISH')
try {
$end = $vevent->getAttribute('DTEND');
$view->end = is_array($end)
? strftime($prefs->getValue('date_format'), mktime(0, 0, 0, $end['month'], $end['mday'] - 1, $end['year']))
: strftime($prefs->getValue('date_format'), $end - 1) . ' ' . date($prefs->getValue('twentyFour') ? ' G:i' : ' g:i a', $end - 1);
? strftime($prefs->getValue('date_format'), mktime(0, 0, 0, $end['month'], $end['mday'], $end['year']))
: strftime($prefs->getValue('date_format'), $end) . ' ' . date($prefs->getValue('twentyFour') ? ' G:i' : ' g:i a', $end);
} catch (Horde_Icalendar_Exception $e) {
$end = null;
}
Expand Down

0 comments on commit 674e911

Please sign in to comment.