March 16, 2026
3:56 p.m.
As discovered in https://gitlab.winehq.org/wine/wine/-/merge_requests/10348 / https://bugs.winehq.org/show_bug.cgi?id=59514 , mktime() with switched tm_isdst takes a long time to execute. This patch introduces the same logic as in ntdll's get_timezone_info() to guess that timezone / timezone bias has not changed and avoids the expensive adjustment in this case. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10350#note_132377