skip to Main Content

IntCalendar outputting wrong locale in php

I have the following code which I believe should output fr_FR as the locale but for some reason is outputting en_US_POSIX (it does this on any timezone). What have I done wrong? $loc = IntlCalendar::createInstance(new DateTimeZone('Europe/Paris')); echo $loc->getLocale(Locale::VALID_LOCALE); For refs:…

VIEW QUESTION
Back To Top
Search