Changed date format to yyyy-mm-dd