tzset() is invoked before localtime_r() for the sake of portability.