RE: XmlLayoutSchemaLog4j timestamp

2004-08-20 Thread Mike Blake-Knox
, 2004 6:23 PM > To: Log4NET User > Subject: RE: XmlLayoutSchemaLog4j timestamp > > Mike, > > So if we keep s_date1970 as UTC and just convert the event > TimeStamp to UTC before getting the difference it should work right: > > DateTime s_date1970 = new DateTime(1970, 1,

RE: XmlLayoutSchemaLog4j timestamp

2004-08-19 Thread Nicko Cadell
to subtracting the time zone UTC offset. Nicko > -Original Message- > From: Mike Blake-Knox [mailto:[EMAIL PROTECTED] > Sent: 19 August 2004 19:52 > To: 'Log4NET User' > Subject: RE: XmlLayoutSchemaLog4j timestamp > > Nicko, > > I found I was havin

RE: XmlLayoutSchemaLog4j timestamp

2004-08-19 Thread Mike Blake-Knox
04 1:41 PM > To: Log4NET User > Subject: RE: XmlLayoutSchemaLog4j timestamp > > Mike, > > I must have been up late when I wrote that! The CVS code has > been changed to: > > DateTime s_date1970 = new DateTime(1970, 1, 1); > > Which should do the job. > > Cheers, > Nicko

RE: XmlLayoutSchemaLog4j timestamp

2004-08-19 Thread Nicko Cadell
4:38 > To: 'Log4NET User' > Subject: XmlLayoutSchemaLog4j timestamp > > XmlLayoutSchemaLog4j uses local time instead of UTC/GMT in > timestamps. As a result the log4j chainsaw viewer displays > times incorrectly. > > This can be corrected by changing the initialization

XmlLayoutSchemaLog4j timestamp

2004-08-17 Thread Mike Blake-Knox
XmlLayoutSchemaLog4j uses local time instead of UTC/GMT in timestamps. As a result the log4j chainsaw viewer displays times incorrectly. This can be corrected by changing the initialization of s_date1970 in XmlLayoutSchemaLog4j.cs to the value of DateTime.Parse("1970-01-01 0:0:0 GMT"). Mike Blake