Early and late ignition of a diesel engine