hi,
think i found a problem with the time/timezones....
(i wrote once before on Dec 1st to the list about this problem,
but now i have spent some time to find out, where the mess happens...
the problem is, that the modification time in the htsearch
output is always set to 1970-01-01 !!! (details in
my mail in december, and in the bug database as bug id 969 )
in htlib/HtdateTime.cc, in
char *HtDateTime::SetFTime(const char *buf, const char *format)
there is the line:
p=(char *) strptime (buf,format, &Ht_tm);
--> in my case, format is alwys: "%d %b %Y %H:%M:%S %Z"
afaik %Z stands for timezone, and is hardcoded in htdig as GMT.
--> my machine (solaris 8, sparc, gcc 2.95.2 ) is in the timezone
MET....
--> the return Value (p) is alway NULL, if i use %Z in the strptime,
which means the conversation fails...
if i change the format to: "%d %b %Y %H:%M:%S" everything works,
and the date in search output is correct !!
thanks in Advance
Michael Pfennich
_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/htdig-dev