Why is JS function “toLocaleString” substracting hours?

I am currently coding a web app in React that fetches data from an API. I am trying to display the timestamp data in a user-friendly format by converting it to a new date using the toLocaleString function.

I notice that there is a two-hour difference between the timestamp and the displayed time. Sometimes, there is only a one-hour difference.

but look what happens when I console.log this:

console.log(new Date(tData).toLocaleString("fr-FR") + " --- " + tData)
26/04/2023 14:22:22 --- 2023-04-26T12:22:22.985+00:00