W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1998

Re: Libwww bug?

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Tue, 04 Aug 1998 15:45:34 -0400
Message-Id: <3.0.5.32.19980804154534.0317a100@localhost>
To: Pete Pocius <PeteP@TechDev.CompuServe.com>
Cc: www-lib@w3.org
At 14:13 8/4/98 -0400, Pete Pocius wrote:

>In the file HTWWWStr.c, the wkdays array lists the days of the week
>starting with "Mon".  The struct tm defines the tm_wday structure member
>as "days since Sunday, 0-6".  This will throw off the weekday by one
>day.  The wkdays array should start with "Sun" instead.

You're right - although it would only show up on platforms without
strftime(). Anyway, I will rotated the days in the wkdays structure unless
I hear other opinions.

Henrik
--
Henrik Frystyk Nielsen,
World Wide Web Consortium
http://www.w3.org/People/Frystyk
Received on Tuesday, 4 August 1998 15:45:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:28 GMT