[Pkg-owncloud-maintainers] owncloud calendar problem with repeating events
shze at gmx.de
Wed Jul 11 06:23:54 UTC 2012
-------- 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
> > 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
> > time) in settings.
> > diederik (on irc) also tested it: He created a repeating event
> > 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
> > 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
> described ... and would also mean your hunch about time zones would be
> Can you change the timezone to the timezone of your server on line 325 in
> 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
> 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.
More information about the Pkg-owncloud-maintainers