Moment.JS accent mark in month, spanish?

Viewed 2778

I'm using moments js to convert from c# JSONified datetime /Date(1501287730903)/ as recommended here

$scope.var = moment($scope.var).toDate();

My objective is to turn the variable that holds /Date(1501287730903)/ not just into JS date, but a string like 05 Jan 2017

$scope.var = moment($scope.var).format('DD/MM/YYYY');

works fine, but I am wanting the actual letters of month. When I proceed to

$scope.var = moment($scope.var).format('DD/MMM/YYYY');

however, I get 28-júl-2017 and MMMM renders 29-júlí-2017

I'm not sure but it looks like it's going for Spanish months..? How can I specify English?

1 Answers
Related