From 40c25f023f3825916ac39e69c6ff7b80f2bc4e70 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Fri, 2 Jul 2010 20:38:25 -0400 Subject: [PATCH] fix time format --- horde/lib/Block/twitter_timeline.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 .= '
'; -- 2.11.0