79 : date_default_timezone_get();
81 $formatter = new \IntlDateFormatter(
87 return (
string) $formatter->format($this->value);
Interface to provide internationalization.
$timezone
Timezone to use during the rendering prcess.
$value
A value expressing a date/time.
$datetype
Type of rendering to apply to dates.
render(\Erebot\IntlInterface $translator)
A class used to format dates/times.
__construct($value, $datetype, $timetype, $timezone=null)
$translator
Translator to use to improve rendering.
const LC_TIME
Date and time formats.
$timetype
Type of rendering to apply to times.