UTC date and time converting to local time incorrectly

I’m retrieving date/time fields from a Wix order object and returning them in a JSON object. The information is in UTC in the order:

order.startDate: “2026-02-23T08:36:49.855Z”

order.currentCycle.endedDate: “2026-03-23T09:12:54.571Z”

I return them back directly:

return { planPurchasedDate: order.startDate, renewsOn: order.currentCycle.endedDate };

However, when I query the returned JSON object, the dates are converted to GMT+2 (my site’s timezone) and the first date is wrong (the time portion is lost) and the second date is correct:

planPurchasedDate: “Mon Feb 23 2026 02:00:00 GMT+0200 (Eastern European Standard Time)”

renewsOn: “Mon Mar 23 2026 11:12:54 GMT+0200 (Eastern European Standard Time)”

Anyone else run into this? Why would one date “convert” correctly but another drop the time?

There appears to be something about the “startDate” element that is messing up. I added some more debugging code and in my specific order object, I have 4 dates that are IDENTICAL. From a logging of the entire object:

image

image

image

image

When I log each element directly, “startDate” shows INCORRECTLY but the others are as expected:

image

image

image

image

This is happening on other order instances as well.