I'm downloading a sheet as a CSV, manipulating some data, and creating new spreadsheets out of that data.
Everything works until I try to upload a date that I'm downloading from smartsheets.
In the smartsheet the date looks like this:
However when I use the node SDK I get this:
var options = {
id: spreadSheetID
};
smartsheet.sheets.getSheetAsCSV(options).then(result => {
console.log(result);
}
"Available_Date"
"04/05/22"
"04/12/22"
I know that I need to upload the dates in the YYYY-MM-DD format. So why does the API return them in the wrong format when exporting as a CSV?