Ralf Lang | 1 Aug 2012 14:25
Picon
Favicon

Horde 5 TimeObjects API Kronolith: multiday timeObjects split into date items per day

Hi,

I've been playing around with the listTimeObjects api in Horde 5
Kronolith. I created a new app which exports listTimeEvents hashes with
start and end dates and titles.

They span multiple days.

When viewing these in kronolith, they are presented as individual per
day events of the same title, the first one starting at the correct time
and ending that day 23:59, next one full day, last one from 0Ö:00 to end
time.

Is this a bug or intentional?
--

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org

Jan Schneider | 5 Aug 2012 16:19
Favicon
Gravatar

Re: Horde 5 TimeObjects API Kronolith: multiday timeObjects split into date items per day


Zitat von Ralf Lang <lang <at> b1-systems.de>:

> Hi,
>
> I've been playing around with the listTimeObjects api in Horde 5
> Kronolith. I created a new app which exports listTimeEvents hashes with
> start and end dates and titles.
>
> They span multiple days.
>
> When viewing these in kronolith, they are presented as individual per
> day events of the same title, the first one starting at the correct time
> and ending that day 23:59, next one full day, last one from 0Ö:00 to end
> time.
>
> Is this a bug or intentional?

Not sure what you mean. What's exactly the difference to regular  
multi-day events?
-- 
Jan Schneider
The Horde Project
http://www.horde.org/

--

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org

(Continue reading)

Ralf Lang | 5 Aug 2012 18:01
Picon
Favicon

Re: Horde 5 TimeObjects API Kronolith: multiday timeObjects split into date items per day


Am 05.08.2012 16:19, schrieb Jan Schneider:
> 
> Zitat von Ralf Lang <lang <at> b1-systems.de>:
> 
>> Hi,
>> 
>> I've been playing around with the listTimeObjects api in Horde 5 
>> Kronolith. I created a new app which exports listTimeEvents
>> hashes with start and end dates and titles.
>> 
>> They span multiple days.
>> 
>> When viewing these in kronolith, they are presented as individual
>> per day events of the same title, the first one starting at the
>> correct time and ending that day 23:59, next one full day, last
>> one from 0Ö:00 to end time.
>> 
>> Is this a bug or intentional?
> 
> Not sure what you mean. What's exactly the difference to regular 
> multi-day events?

When clicking on day 2 of a normal multiday event from 08/22/12 6:00
to 08/25/12 8:00 I see 22.08.2012 in from display and 25.08.2012 in to
display.

With multiday, I see 23.08.12 (allday) till 23.08.12 (allday), and
klicking on the next day I see 24.08.12 (allday). Klicking on the last
day gives (25.08.12 0:00) till (25.08.12 8:00)
(Continue reading)

Jan Schneider | 5 Aug 2012 19:15
Favicon
Gravatar

Re: Horde 5 TimeObjects API Kronolith: multiday timeObjects split into date items per day


Zitat von Ralf Lang <lang <at> b1-systems.de>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Am 05.08.2012 16:19, schrieb Jan Schneider:
>>
>> Zitat von Ralf Lang <lang <at> b1-systems.de>:
>>
>>> Hi,
>>>
>>> I've been playing around with the listTimeObjects api in Horde 5
>>> Kronolith. I created a new app which exports listTimeEvents
>>> hashes with start and end dates and titles.
>>>
>>> They span multiple days.
>>>
>>> When viewing these in kronolith, they are presented as individual
>>> per day events of the same title, the first one starting at the
>>> correct time and ending that day 23:59, next one full day, last
>>> one from 0Ö:00 to end time.
>>>
>>> Is this a bug or intentional?
>>
>> Not sure what you mean. What's exactly the difference to regular
>> multi-day events?
>
> When clicking on day 2 of a normal multiday event from 08/22/12 6:00
> to 08/25/12 8:00 I see 22.08.2012 in from display and 25.08.2012 in to
(Continue reading)

Michael J Rubinsky | 5 Aug 2012 19:51
Favicon
Gravatar

Re: Horde 5 TimeObjects API Kronolith: multiday timeObjects split into date items per day


Quoting Ralf Lang <lang <at> b1-systems.de>:

> Am 05.08.2012 16:19, schrieb Jan Schneider:
>>
>> Zitat von Ralf Lang <lang <at> b1-systems.de>:
>>
>>> Hi,
>>>
>>> I've been playing around with the listTimeObjects api in Horde 5
>>> Kronolith. I created a new app which exports listTimeEvents
>>> hashes with start and end dates and titles.
>>>
>>> They span multiple days.
>>>
>>> When viewing these in kronolith, they are presented as individual
>>> per day events of the same title, the first one starting at the
>>> correct time and ending that day 23:59, next one full day, last
>>> one from 0Ö:00 to end time.
>>>
>>> Is this a bug or intentional?
>>
>> Not sure what you mean. What's exactly the difference to regular
>> multi-day events?
>
> When clicking on day 2 of a normal multiday event from 08/22/12 6:00
> to 08/25/12 8:00 I see 22.08.2012 in from display and 25.08.2012 in to
> display.
>
> With multiday, I see 23.08.12 (allday) till 23.08.12 (allday), and
(Continue reading)

Ralf Lang | 6 Aug 2012 08:33
Picon
Favicon

Re: Horde 5 TimeObjects API Kronolith: multiday timeObjects split into date items per day


Am 05.08.2012 19:51, schrieb Michael J Rubinsky:
>> When clicking on day 2 of a normal multiday event from 08/22/12
>> 6:00 to 08/25/12 8:00 I see 22.08.2012 in from display and
>> 25.08.2012 in to display.
>> 
>> With multiday, I see 23.08.12 (allday) till 23.08.12 (allday),
>> and klicking on the next day I see 24.08.12 (allday). Klicking on
>> the last day gives (25.08.12 0:00) till (25.08.12 8:00)
> 
> 
> Are you sure that your application is returning only a single
> array entry for these events and not one entry per day?

At least it doesn't look like it. Here is what listTimeObjects returns:

print_r($registry->call('b1training/listTimeObjects',
array('trainings')));

Results

Array
(
    [1] => Array
        (
            [title] => A multiday training
            [description] =>

Something
            [id] => 1
(Continue reading)


Gmane