You are here

public function DatexPoorMansGregorianCalendar::format in Datex 8

Overrides DatexInterface::format

File

src/Datex/DatexPoorMansGregorianCalendar.php, line 17
Fallback calendar implementation in case php-intl is not available.

Class

DatexPoorMansGregorianCalendar

Namespace

Drupal\datex\Datex

Code

public function format($format) {
  return date_format(parent::getOrigin(), $format);
}