Repository navigation
v0.0.5 Try to use LC_TIME locale if locale param is empty
Using LC_TIME locale if possible will make the function more compatible to the current behaviour.
The Locale class also supports identifiers with dashes and may be more than 5 characters; see https://www.php.net/manual/en/class.locale.php
Thanks to @the-mars