Describe the bug
When enabling the "Show date" option, WPP doesn't translate the actual date into the site's language when there's a suitable locale file in Moment/Locales.
To Reproduce
Steps to reproduce the behavior:
Go to Widgets > WordPress Popular Posts.
Enable the "Show date" option.
Set site's language to es_ES (or any other language with a locale file available in Moment/Locales).
On the front-end, the widget will display the date in English.
Expected behavior
The widget should display the date in the selected language when there's a Moment locale available for it.
Describe the bug When enabling the "Show date" option, WPP doesn't translate the actual date into the site's language when there's a suitable locale file in
Moment/Locales
.To Reproduce Steps to reproduce the behavior:
es_ES
(or any other language with a locale file available inMoment/Locales
).Expected behavior The widget should display the date in the selected language when there's a Moment locale available for it.
Environment: