On non-periodic homogenization of time-dependent equations