fix typo/bug in date2daterange function; print running progress