Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Strange problem with dates - need debugging help, posted by T. Ribbrock on Fri Feb 4 00:11:09 2011 
    icon2.gif   Re: Strange problem with dates - need debugging help, posted by Stefan Ritt on Fri Feb 4 10:20:12 2011 
       icon14.gif   Re: Strange problem with dates - need debugging help, posted by T. Ribbrock on Fri Feb 4 11:52:45 2011 
Message ID: 67006     Entry time: Fri Feb 4 00:11:09 2011     Reply to this: 67007
Icon: Question  Author: T. Ribbrock  Author Email: emgaron+elog@ribbrock.org 
Category: Question  OS: Other  ELOG Version: 2.8.1 
Subject: Strange problem with dates - need debugging help 

I have just installed elog 2.8.1 on my OpenBSD 4.8 server (I've added the necessary Makefile patch to "Contributions"). Everything seems to work fine, however, I ran into a very odd problems with the dates of the logbook entries: When I start a new entry, the current date/time is displayed correctly. When I submit the entry and look at it again, the date has changed to some value in 1996 . I've checked the actual logbook file and there, the entry has a Date line like this:

Date: Thu, 03 Feb 2011 23:53:28 -13049141
 

The "-13049141" looks very suspicious to me - but I have no idea whatsoever why this happens. I had elogd running with -v, but that did not give me any hints. Any ideas how to debug/resolve this would be much appreciated...

 

ELOG V3.1.5-fe60aaf