Setting Moment.js default date format to dd/mm/yyyy
date, localization, momentjs
Solution
You have to use the moment-with-lang.js and set the language for "Australia"
check the docs here http://momentjs.com/docs/#/i18n/changing-locale/
for you it should be something like `moment.lang('en-AU');`
Problem
When calling `.calendar()` in Moment.js, dates are output using the `MM/DD/YYYY` format. From looking at the code, this appears to be controlled by the `L` token. Likewise, the `LL` token outputs the date as November 29 2013. The only problem is, these are US date formats and I need to display mine according to Australian standards, e.g. `DD/MM/YYYY` and 29 November 2013. Does anyone know where/ how to set this? NB: My system locale and location are set to English (Australia) and Australia respectively.