moment set language and format code example
Example: moment js day name language
console.log(moment("01-06-2018", 'MM-DD-YYYY').locale("fr").format("dddd"));
console.log(moment("01-06-2018", 'MM-DD-YYYY').locale("fr").format("dddd"));