Allow different date formatting like YYYY/MM/DD with Moment.js library.