Using moment for dates and changed date format