--- parser3/src/classes/date.C 2002/03/05 12:20:48 1.18 +++ parser3/src/classes/date.C 2002/03/26 08:51:00 1.20 @@ -4,7 +4,7 @@ Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) - $Id: date.C,v 1.18 2002/03/05 12:20:48 paf Exp $ + $Id: date.C,v 1.20 2002/03/26 08:51:00 paf Exp $ */ #include "classes.h" @@ -130,6 +130,7 @@ static void _roll(Request& r, const Stri tmOut->tm_hour=tmSaved.tm_hour; tmOut->tm_min=tmSaved.tm_min; tmOut->tm_sec=tmSaved.tm_sec; + tmOut->tm_isdst=-1; { time_t t=mktime(tmOut); if(t<0) @@ -186,7 +187,7 @@ static Table *fill_week_days(Request& r, columns+=new(pool) String(pool, "year"); columns+=new(pool) String(pool, "month"); 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); int year=params->as_int(1, "year must be int", r);