Matter-wave diffraction in time with a linear potential