So we all use all kind of UI elements like ‘select2’ for example and some of this elements can receive params like dateFormat, datetimeFormat, direction … etc
Well, in my app i have successfully configured my locale and when i do something like this:
It is available if you’re using PHP 7: http://php.net/manual/en/intlchar.chardirection.php. So if you need it for PHP less than 7 then it should be somewhere in ICU data which you can dig it using the method in the source code I’ve linked to.