Skip to content

Commit cf4fb8e

Browse files
committed
style: use "use" for IcuFormatter
1 parent dd958b0 commit cf4fb8e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/Horde/Core/Mime/Viewer/Vcard.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22

33
use Horde\Util\Util;
4+
use Horde\Date\Formatter\IcuFormatter;
45

56
/**
67
* The Horde_Core_Mime_Viewer_Vcard class renders out vCards in HTML format.
@@ -166,7 +167,7 @@ protected function _renderInline()
166167
$birthday = new Horde_Date($birthdays[0]);
167168
$html .= $this->_row(
168169
Horde_Core_Translation::t('Birthday'),
169-
$birthday->format($prefs->getValue('date_format'), new \Horde\Date\Formatter\IcuFormatter(), $GLOBALS['language'] ?? 'en_US')
170+
$birthday->format($prefs->getValue('date_format'), new IcuFormatter(), $GLOBALS['language'] ?? 'en_US')
170171
);
171172
} catch (Horde_Icalendar_Exception $e) {
172173
}

0 commit comments

Comments
 (0)