Preheat oven to 375 degrees F.
Steam or bake sweet potatoes until tender. Cool, peel, and mash in a large mixing bowl.
Peel and quarter apples. Steam until soft. Mash, add to potatoes. Mix in salt, dates, vanilla, cinnamon, allspice, and ginger. Stir until smooth.
Place mixture into a parchment-lined baking dish. Bake for 30 minutes.