While the problem of https://github.com/GothenburgBitFactory/taskwarrior/issues/2514 fixed, the information printed in stdout is still incorrect. Check the times printed under "Tracking", and "Recorded" to stdout in teal blue color in screenshot below. The "Started", "Ended" times, and resultant duration are all based on current_timestamp.
As pointed in the comment https://github.com/GothenburgBitFactory/taskwarrior/issues/2514#issuecomment-869069985, the taskwarrior-timewarrior python hook prints incorrect start/end/duration times for some
>>task
commands. The example is described in the comment at https://github.com/GothenburgBitFactory/taskwarrior/issues/2514#issuecomment-869065216 of taskwarrior's ticket: https://github.com/GothenburgBitFactory/taskwarrior/issues/2514. Here's the minimal & edited quote from my comment that invites this ticket.