Skip to content

Commit

Permalink
Ticket: 14066 Use configured date_format pref for time block.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jul 27, 2015
1 parent 31d5e50 commit d56cc86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horde/lib/Block/Time.php
Expand Up @@ -46,7 +46,7 @@ protected function _content()
$GLOBALS['registry']->setTimeZone();

$html = '<div style="font-size:200%; font-weight:bold; text-align:center">' .
strftime('%A, %B %d, %Y ');
strftime($GLOBALS['prefs']->getValue('date_format')) . ' ';
if ($this->_params['time'] == '24-hour') {
$html .= strftime('%H:%M');
} else {
Expand Down

0 comments on commit d56cc86

Please sign in to comment.