[Kolab-devel] [issue1131] Kolab Date problem in resource handler

Pieter Vanmeerbeek kolab-issues at intevation.de
Wed Feb 15 15:24:57 CET 2006


New submission from Pieter Vanmeerbeek <pieter.vanmeerbeek at able.be>:

Hi,

I'm currenlty running kolab 2.0.1 , I know some bugfixes are applied to
2.0.3.
However, I think this problem is still there in version 2.0.3 as I cannot
find any differnce in the CVS tree (file of 5/2).

The problem is that automatic accepted calendar items of a resource are
generated with a start and date in 1970 : 

  <start-date>2006-01-01T00:00:01Z</start-date>
  <end-date>2006-01-01T00:00:01Z</end-date>

This is due to format problem in the time indications --> array of
day/month/year instead of one timestring.
Tracing this in the code, leads me to the resmgr.php script, routine
iCalDate2Kolab : 

function iCalDate2Kolab($ical_date)
{
    // $ical_date should be a timestamp
    return gmstrftime('%Y-%m-%dT%H:%M:%SZ', $ical_date);
}

As indicated in the coment ,it expects a timestamp and not an array -->
gives 1/1/1970 --> all-day calendar items of reousrce are not visible in
Konsec konnector and do not show up in freebusy file.

Is there a fix for this available?

Kind regards,
Pieter

----------
messages: 6573
nosy: kolab-devel, kolab-devel1, pieter.vanmeerbeek
status: unread
title: Kolab Date problem in resource handler
________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://intevation.de/roundup/kolab/issue1131>
________________________________________________




More information about the devel mailing list