I have problems showing the month of the next operation in German:
var date = moment.unix(valueTimestamp).format("DD. MMMM YYYY");
I tried the following, but it does NOT work:
var date = moment.lang('de').unix(valueTimestamp).format("DD. MMMM YYYY");
var date = moment.local('de').unix(valueTimestamp).format("DD. MMMM YYYY");
How can I make the month name German?
EDIT
I have included the locales.js file and am creating a js script that will demonstrate my problem:
https://jsfiddle.net/e3a7bgLu/
The following error is displayed on the console:
Uncaught TypeError: moment.locale(...).unix is not a function
source
share