Currently, I am incorporating the momentJS library into my Angular application by pulling it from a CDN:
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.10.3/moment.min.js"></script>
Although the default locale should be English ('en'), I am experiencing an issue where the default locale in my app is set to 'zh-tw' for some unknown reason. This seems to have been a known issue in the past (refer to this link and this link), but supposedly has been resolved.
Even when attempting to manually set the global locale, it does not take effect as intended:
In my index.html file:
<script>
moment.locale('en');
</script>
In my Angular controller:
moment.locale('en');
At this point, the only successful method is setting the locale for each individual moment instance:
var moment1 = moment(myDate);
moment1.locale('en');
var moment2 = moment(moment1).add(24, 'h');
moment2.locale('en');