fixed date to yyyy-mm-dd