update datetime style to %Y-%m-%d