use moment.js to format dates to local timezone