Another LINT fix
Use localtime instead of localtime_r on Windows