If a potential $V(x,t)$ exhibits a finite discontinuity in space, the wavefunction $\phi(x,t)$ and its spatial derivative will be continuous.
If a potential exhibits a finite discontinuity in time, the wavefunction $\phi(x,t)$ is continuous but the time derivative will be discontinuous.
Can anyone explain why this is so?