Lets not mix whitespacing
use these newfangled defines
Don't assert here, returning NULL is within the specs of localtime