Bug: Magento 2 ignores the current locale while formatting dates for admin orders list

localization
bug

(Dmitry Fedyuk) #1

As you can see I have set the russian locale but Magento 2 totally ingores it while formatting the dates for admin orders list:

Magento 2 uses moment.js JavaScript library for date formatting but does not initialize the library locale, so moment.js uses the default English locale:


(sIiiS) #2

Thank you for your ssolution, but I can not understand how should I use this method for fixing the issue!
Can you please explain more for me?


(sIiiS) #3

Founded how to use it, thanks!


(Larry Lurex) #4

Hi There, I have the same issue for Italian Locale, do I have to set
moment.locale('it, {

for Italian locale?