MTNathan
08/12/2022, 7:33 PMnew Date()
) doesn't seem to work with a string passed in, at least in server scripts, despite that being a part of the base JS specs? I'm getting an ISO date string back from an API and I was really hoping to not have to use a library or build a function just to parse something that standard JS should be able to do.MTNathan
08/12/2022, 7:33 PMMTNathan
08/12/2022, 7:34 PMInvalid Date
in a Suitelet: new Date('2022-07-28T13:06:15-05:00')
battk
08/12/2022, 8:20 PMbattk
08/12/2022, 8:21 PMMTNathan
08/12/2022, 8:27 PM