edd-metrics icon indicating copy to clipboard operation
edd-metrics copied to clipboard

In the main window date isn't i18n ready

Open fxbenard opened this issue 8 years ago • 3 comments

2016-10-04_10-53-26

Same in the dropdown

Using users WP settings will be nice

fxbenard avatar Oct 04 '16 08:10 fxbenard

The calendar uses moment.js, which you can translate in your own JS file pretty easily: http://momentjs.com/docs/#/i18n/

I would like to make this automatic based on locale settings at some point though.

scottopolis avatar Oct 15 '16 23:10 scottopolis

Thanks. Why not using moment-with-locales.js then? Will it do the trick?

fxbenard avatar Oct 16 '16 09:10 fxbenard

As far as I know, moment does not load translations, you have to do it yourself. Do you have a link to something that says otherwise?

scottopolis avatar Oct 16 '16 14:10 scottopolis