Skip to content
Advertisement

“ru_RU” (russian) setlocale not working on date and time

I am trying to use Russian language with setlocale:

JavaScript

Output is : Thursday, August 29

Expected is : четверг, Август 29

Any help would be highly appreciated.

Advertisement

Answer

Found it! if you are using Linux hosting then try:

JavaScript

will works fine. In case you are using windows hosting then try:

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement