Time-filtering effect in the Mössbauer spectrum