[Pkg-owncloud-maintainers] owncloud calendar problem with repeating events

Thomas Müller thomas.mueller at tmit.eu
Wed Jul 11 06:40:49 UTC 2012

The upstream developer is aware of this issue - afaik.
Solution is pending :-( 

Sten Heinze <shze at gmx.de> schrieb:

>Hi Diederik!
>-------- Original-Nachricht --------
>> Datum: Wed, 11 Jul 2012 00:21:00 +0200
>> Von: Diederik de Haas <didi.debian at cknow.org>
>> An: pkg-owncloud-maintainers at lists.alioth.debian.org
>> CC: shze at gmx.de
>> Betreff: Re: [Pkg-owncloud-maintainers] owncloud calendar problem with repeating events
>> Hi Sten,
>> On Tuesday 10 July 2012 08:27:04 shze at gmx.de wrote:
>> > So I tried to create repeating events in owncloud's webinterface, but I
>> ran
>> > into problems where they would not be displayed correctly:
>> > 
>> > I tested on week-display of the webinterface of owncloud 4.0.4 Debian
>> > package (wheezy), with the Mysql backend, and owncloud set to CDT
>> (Chicago
>> > time) in settings.
>> > 
>> > diederik (on irc) also tested it: He created a repeating event
>> 12:00-14:30
>> > using the 2. Method, which resulted in all events being displayed as
>> > 12:00-12:30 (4.0.3a, sqlite, presumably CEST)
>> > 
>> > I think this is a bug in owncloud. I'm wondering if this could be
>> connected
>> > to the time zone, CDT is GMT+5, CEST is GMT-2. The next step will be
>> > filing a bug report.
>> I found an upstream bug report which sounds an aweful lot like the issue
>> you 
>> described ... and would also mean your hunch about time zones would be
>> correct:
>> http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-1132
>> Can you change the timezone to the timezone of your server on line 325 in
>> the 
>> file /usr/share/owncloud/lib/base.php and see if it solves your issue?
>> (Note that the line nr is different from the bugreport, but on 325 is the
>> only 
>> occurrence of UTC)
>Thanks for finding this report. Yes, changing 'UTC' to 'America/Chicago' fixes this problem for me. But I cannot believe that this is the proper solution (also it's in the general owncloud code, not in the calendar app). 
>In my search for a better fix I checked the values for start and end times in 'generateEventOutput' in apps/calendar/lib/app.php and they are still correct. It seems to me that this function is called in apps/calendar/ajax/events.php, but I don't know where to look from there. I can test more if I get passed some ideas.
>Pkg-owncloud-maintainers mailing list
>Pkg-owncloud-maintainers at lists.alioth.debian.org

More information about the Pkg-owncloud-maintainers mailing list