You should attach the request header of your target time zone when calling the graph API, otherwise it will return your task information in the default UTC time.
GET https://graph.microsoft.com/v1.0/me/todo/lists/{todoTaskListId}/tasks/{taskId}
Prefer: outlook.timezone="{your target time zone}"
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.