localtime_r and null == zero tests