From: Michael J. Rubinsky Date: Sat, 3 Jul 2010 00:38:25 +0000 (-0400) Subject: fix time format X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=40c25f023f3825916ac39e69c6ff7b80f2bc4e70;p=horde.git fix time format --- diff --git a/horde/lib/Block/twitter_timeline.php b/horde/lib/Block/twitter_timeline.php index 245db1b68..abf8c33cb 100644 --- a/horde/lib/Block/twitter_timeline.php +++ b/horde/lib/Block/twitter_timeline.php @@ -168,7 +168,7 @@ EOT; . '
' . '' . _("Update") . '' . Horde::img('loading.gif', '', array('id' => $instance . '_loading', 'style' => 'display:none;')); - $html .= '
' . sprintf(_("Latest: %s - %s"), $latestStatus, Horde_Date_Utils::relativeDateTime(strtotime($this->_profile->status->created_at), $GLOBALS['prefs']->getValue('date_format'), ($GLOBALS['prefs']->getValue('twentyFour') ? "%H:%M %P" : "%I:%M"))) . '
'; + $html .= '
' . sprintf(_("Latest: %s - %s"), $latestStatus, Horde_Date_Utils::relativeDateTime(strtotime($this->_profile->status->created_at), $GLOBALS['prefs']->getValue('date_format'), ($GLOBALS['prefs']->getValue('twentyFour') ? "%H:%M" : "%I:%M %P"))) . '
'; $html .= '
'; $filter = Horde_Text_Filter::factory('Text2html', array('parselevel' => Horde_Text_Filter_Text2html::MICRO)); $html .= '
';