Date format in tooltip is wrong with other locales


(Sebastien Miquerolle) #1

It seems that all dates in tooltip doesn’t care specific date format for each translation (french locales in my case):

I try to read the code and the “longDate” is used for tooltip (title of the anchor):
return moment(dt).longDate();

And the locale ‘fr’ seems correct in lib/javascripts/moment_locale/fr.js and in config/locales/server.fr.yml

Maybe something wrong ? Missing translation ?


Dates are not localized in the no-JS version
(Sebastien Miquerolle) #2

Maybe fix by

https://github.com/discourse/discourse/pull/2243


(Neil Lalonde) #3

Was fixed a while ago. Actually, it was still broken in production mode. I fixed it today.


(Neil Lalonde) #4