replaced date formatter with moment.js