display dates correcty as %Y-%m