Capturing the Temporal Dependence of Training Data Influence