changes date format to be the same as real api