On Thu, Sep 17, 2009 at 1:55 PM, Hamilton Chua <[email protected]> wrote:
>>  - Can you confirm date --utc is correct on the XS and on the involved XOs?
>
> Yes, date--utc on both XS and XO's are the same if not close to each
> other, the difference being a few seconds.

thanks

> I checked the directory names and it seems they are correctly UTC.

Thanks!

> It seems the time() function returns the
> epoch based on the local timezone instead of the epoch based on UTC.

Actually - time() is doiing the right thing. It was the use of
mktime() that was bogus. Replace mktime() with gmmtime(), the 3 times
it appears in dsbackuplib.php and the problem is gone.

thanks for the debugging!



m
-- 
 [email protected]
 [email protected] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
_______________________________________________
Server-devel mailing list
[email protected]
http://lists.laptop.org/listinfo/server-devel

Reply via email to