[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpgroupware-developers] Date problem with calendar
From: |
Stephan Cremer |
Subject: |
Re: [Phpgroupware-developers] Date problem with calendar |
Date: |
21 Aug 2002 10:22:32 +0200 |
> > * if $GLOBALS['phpgw_info']['server']['tz_offset'] is set,
> > $this->gmtnow is set to result of time() minus the this offset
>
> Problem is it was set, but to the highly unlikely value of 286420 or so.
> And that breaks the calculation. :-)
>
could that value be a UNIX date as in "date +%s" that gives you the
secodns since 00:00:00, Jan 1, 1970 ? I did not check where and how this
is set, though... :-)
and then, the else brach in datetime() using getbestguess() to set
users_localtime still seems somewhat odd to me...
Stephan.