The impact of time-dependent stellar activity on exoplanet atmospheres