fix(abbott orders): working on times coming over as yesterday

This commit is contained in:
2025-05-20 13:42:37 -05:00
parent b96a750e9e
commit a5f1203a34
2 changed files with 9 additions and 7 deletions

View File

@@ -22,6 +22,7 @@ export const excelDateStuff = (serial: number, time: any = 0) => {
date.setHours(hours);
date.setMinutes(minutes);
}
return date.toLocaleString("en-US"); // or .toISOString() if preferred
//console.log(date.toLocaleString("en-US"), getJsDateFromExcel(addHours));
//console.log(date.toISOString());
return date.toISOString(); //.toLocaleString("en-US"); // or .toISOString() if preferred
};