Re: GMT v's localtime

From: Henrik Nordstrom <>
Date: Wed, 13 Jan 1999 04:57:25 +0100

Marc Lucke wrote:
> Is there a way to make Squid 2 (& Cachemgr) report system time (in my case
> EST) over the standard GMT?

I don't think so. Squid only has one set of routines for dealing with
dates, and those only deal with GMT times.

To get time reports in other timezones you have to write a new function
similar to lib/rfc1123.c:mkrfc1123 which formats the time according to
the local timezone, and then replace the appropriate mkrfc1123 calls
(error.c, ftp.c, gopher.c, cachemgr.c) with calls to your date function.

Henrik Nordstrom
Spare time Squid hacker
Received on Tue Jan 12 1999 - 21:01:21 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:00 MST