changed data format for moment.js