Date changes when posting date to controller from Vue
I'm trying to save a date in a database, I'm posting the correct value which for example is Thu Oct 13 2022 15:00:00 GMT+0300 (Eastern European Summer Time) and then, the date that gets passed to the controller converts to 2022-10-13T12:00:00.000Z this is obviously a timezone issue, although in app.php the timezone i have set is 'timezone' => 'Europe/Athens' which is correct and it is GMT +3, what could the issue be?