if (isleap(tp->tm_year + 1900)) {
if (isleap(tp->tm_year + TM_YEAR_BASE)) {
settime(now)    	time_t now;{	tp = localtime(&now);	if (isleap(tp->tm_year + 1900)) {		yrdays = DAYSPERLYEAR;		cumdays = daytab[1];	} else {		yrdays = DAYSPERNYEAR;		cumdays = daytab[0];	}	/* Friday displays Monday's events */	offset = tp->tm_wday == 5 ? 3 : 1;	header[5].iov_base = dayname;	(void) setlocale(LC_TIME, "C");	header[5].iov_len = strftime(dayname, sizeof(dayname), "%A", tp);	(void) setlocale(LC_TIME, "");	setnnames();}