/** * @return string * @throws \Punic\Exception\ValueNotInList */ public function getDateFormat() { $locale = $this->getLanguageCode(); $locale = $this->transformToCLDRLocale($locale); return Punic\Calendar::getDateFormat('short', $locale); }
/** * @return string * @throws \Punic\Exception\ValueNotInList */ public function getDateFormat() { $locale = self::findLanguage(); return Punic\Calendar::getDateFormat('short', $locale); }