tolerate NULL tm_zone in strftime