Currently, I am encountering an issue while working with Laravel Inertia and Vue.js. The problem arises when the time is transferred between Laravel and Vue.js, as it always converts to UTC automatically, which is not what I want. For instance, if I am using a timezone of UTC+8
, and the created date time response from the server-side shows 10am, it appears as 2am when inspected on the client side. Similarly, when submitting a request with a field time set at 10am, it gets converted to 2am. I would greatly appreciate any suggestions or solutions to handle this issue effectively on both the server and client sides.