formatting dates

using moment.js