Classical solutions for partial functional differential equations with nonautonomous past