On Thu, 6 Jan 2005, Vincent Lefevre wrote:

> On 2005-01-06 15:11:46 -0000, Aengus wrote:
> > The LOGTIMEOFFSET command is used to allow Analog to recalculate the
> > GMT timestamps in your logfiles and display the times using your
> > local timezone.
>
> LOGTIMEOFFSET is really annonying due to the summer/winter times.
> Isn't it possible to ask Analog to use the local time (using the
> system settings)?
>
> If this is not clear, here's an example. In the log file:
>
> vinc17.net4.nerim.net - - [19/Dec/2004:13:38:51 +0900] ...
>
> So, Analog knows the UTC time: 2004-12-19T04:38:51Z.

Not all logfiles report the timezone. Even when they do, there is no
standard way to retrieve the timezone of the local machine -- it's
completely OS dependent how to do this. And you don't just need the
timezone now, you need it at any arbitrary time in the past.

-- 
Stephen Turner, Cambridge, UK    http://homepage.ntlworld.com/adelie/stephen/
  "Low Priced Cambridge Clare College. Big selection at eBay UK!"
  (Ad after Google search for Clare College Cambridge)
+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to