public function DatexIntlCalendar::format in Datex 8
Overrides DatexInterface::format
1 call to DatexIntlCalendar::format()
- DatexIntlCalendar::parse in src/
Datex/ DatexIntlCalendar.php
File
- src/
Datex/ DatexIntlCalendar.php, line 17
Class
Namespace
Drupal\datex\DatexCode
public function format($format) {
$this->intlFormatter
->setPattern(static::format2pattern($format));
return $this
->formatHook($format, $this->intlFormatter
->format($this
->getTimestamp()));
}