Skip to content

v0.0.5 Try to use LC_TIME locale if locale param is empty

Choose a tag to compare

@alphp alphp released this 17 Mar 21:50
· 52 commits to master since this release

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