Removing formatting for createdAt date