getdates: fix typo