|
|
| version 1.18, 2002/03/05 12:20:48 | version 1.20, 2002/03/26 08:51:00 |
|---|---|
| Line 130 static void _roll(Request& r, const Stri | Line 130 static void _roll(Request& r, const Stri |
| tmOut->tm_hour=tmSaved.tm_hour; | tmOut->tm_hour=tmSaved.tm_hour; |
| tmOut->tm_min=tmSaved.tm_min; | tmOut->tm_min=tmSaved.tm_min; |
| tmOut->tm_sec=tmSaved.tm_sec; | tmOut->tm_sec=tmSaved.tm_sec; |
| tmOut->tm_isdst=-1; | |
| { | { |
| time_t t=mktime(tmOut); | time_t t=mktime(tmOut); |
| if(t<0) | if(t<0) |
| Line 186 static Table *fill_week_days(Request& r, | Line 187 static Table *fill_week_days(Request& r, |
| columns+=new(pool) String(pool, "year"); | columns+=new(pool) String(pool, "year"); |
| columns+=new(pool) String(pool, "month"); | columns+=new(pool) String(pool, "month"); |
| columns+=new(pool) String(pool, "day"); | columns+=new(pool) String(pool, "day"); |
| columns+=new(pool) String(pool, "week_day"); | columns+=new(pool) String(pool, "weekday"); |
| Table *result=new(pool) Table(pool, &method_name, &columns); | Table *result=new(pool) Table(pool, &method_name, &columns); |
| int year=params->as_int(1, "year must be int", r); | int year=params->as_int(1, "year must be int", r); |