|
|
| version 1.34, 2002/08/05 11:28:09 | version 1.35, 2002/08/05 13:15:11 |
|---|---|
| Line 243 static Table *fill_month_days(Request& r | Line 243 static Table *fill_month_days(Request& r |
| tm tms={0,0,0, _day, month, year-1900}; | tm tms={0,0,0, _day, month, year-1900}; |
| /*normalize*/mktime(&tms); | /*normalize*/mktime(&tms); |
| const int weekno_buf_size=2+1; | const int weekno_buf_size=2+1/*for stupid snprintfs*/ +1; |
| // http://www.merlyn.demon.co.uk/weekinfo.htm | // http://www.merlyn.demon.co.uk/weekinfo.htm |
| const int FirstThurs[] = {7,5,4,3,2,7,6,5,4,2,1,7,6,4,3,2,1,6,5,4,3,1,7,6,5,3,2,1}; | const int FirstThurs[] = {7,5,4,3,2,7,6,5,4,2,1,7,6,4,3,2,1,6,5,4,3,1,7,6,5,3,2,1}; |