date-arrays using moment.js