Hi Akihiro,
On 12/21/18 2:19 PM, Akihiro Sagawa wrote:
How about using is_dst function at msvcrt.c:161? From my point of view, it's the way to set tm_isdst member in _localtime64_s function.
is_dst function uses tzi global variable that is only updated in _tzset function. It will not be updated if time is adjusted while an application is running. I didn't check if functions that are currently using is_dst helper behave correctly in that case.
Thanks, Piotr