[chora] bug && bugfix again...
Mathieu Arnold
arn_mat@club-internet.fr
Tue, 10 Apr 2001 22:24:54 +0200
Anil Madhavapeddy wrote:
>
> > and, i have a problem with the function readableTime from
> > CVSLIB::File, it seems that time returns de time with the
> > correct time zone (MEST, +0200) but that $date contains
>
> Hang on, both of these should be operating in seconds-from-epoch mode,
> and so are independent of timezone. Not sure how this problem's
> cropping up .. ?
well, i know that, but, on my php, the time() function returns the
current time adding 2 hours, I know it sounds crazy, but that's what it
is. I committed a file just a few seconds ago, and when i put a
print strftime("%D %T",time()).'<br>'.strftime("%D %T",$date).'<br>';
just after the $secs = time() - $date;
here is what i have :
04/10/01 22:22:18
04/10/01 20:22:14
--
Mathieu Arnold