/*
- * $Id: rfc1123.c,v 1.8 1997/10/25 17:22:29 wessels Exp $
+ * $Id: rfc1123.c,v 1.9 1997/10/30 02:01:41 wessels Exp $
*
* DEBUG:
* AUTHOR: Harvest Derived
time_t cur_t = time(NULL);
struct tm *local = localtime(&cur_t);
t += local->tm_gmtoff;
+ /*
+ * The following assumes a fixed DST offset of 1 hour,
+ * which is probably wrong.
+ */
+ if (tm.tm_isdst > 0)
+ t += 3600;
}
#else
/* some systems do not have tm_gmtoff so we fake it */