rewrite dates through pipes