[kronolith] Fwd: Timezone not working

Michael J Rubinsky mrubinsk at horde.org
Mon Apr 28 19:51:04 UTC 2014


Please keep discussions on list. 


Sent from my Verizon Wireless 4G LTE smartphone

-------- Original message --------
From: Will Holland <will at sandiegosunset.com>
Date:04/28/2014  3:35 PM  (GMT-05:00)
To: mrubinsk at horde.org
Subject: Re: [kronolith] Timezone not working


----- Forwarded message from Will Holland <will at sandiegosunset.com> -----
    Date: Mon, 28 Apr 2014 12:35:36 -0700
    From: Will Holland <will at sandiegosunset.com>
Subject: Re: [kronolith] Timezone not working
      To: mrubinsk at horde.org

On 4/28/2014 11:31 AM, Michael J Rubinsky wrote:
>
> Quoting Will Holland <will at sandiegosunset.com>:
>
>> Hi,
>>
>> I have set the timezone in Preferences->Global Preferences->Locale  
>> and Time to America/Los_Angeles, but kronolith is not factoring in  
>> the timezone when making events.
>>
>> Kronolith will also highlight as todays date, the date that it is in UTC.
>>
>> I have checked and the PHP default timezone is set to  
>> America/Los_Angeles, and the server Date call returns PDT time.
>> When loggin into horde, the last login date/time is in the correct timezone.
>>
>> Is there a setting I am missing somewhere?
>
> It sounds like maybe you didn't select to store dates in UTC format  
> in the Kronolith backend. See Admin->Config->Kronolith->Store dates  
> as UTC.
>
>
>
>> Here is an example:
>>
>> In Kronolith make a new event for April 28th 8:AM to 9:AM. This  
>> Appt shows correctly in kronolith. But looking at the ICS generated  
>> you can see that the event was made in UTC, not the local timezone.  
>> So when it syncs, the time is off by 7hours
>>
>> BEGIN:VCALENDAR
>> VERSION:2.0
>> X-WR-CALNAME:Exchange
>> PRODID:-//The Horde Project//Horde iCalendar Library//EN
>> BEGIN:VEVENT
>> DTSTART:20140428T080000Z
>> DTEND:20140428T090001Z
>> DTSTAMP:20140428T172302Z
>> UID:20140428172232.3Z-TI8twvYnjztC97XbRwA1 at webmail.sandiegosunset.com
>> CREATED:20140428T172232Z
>> LAST-MODIFIED:20140428T172232Z
>> SUMMARY:new event
>> CLASS:PUBLIC
>> STATUS:CONFIRMED
>> TRANSP:OPAQUE
>> END:VEVENT
>> END:VCALENDAR
>> -- 
>> kronolith mailing list
>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>> To unsubscribe, mail: kronolith-unsubscribe at lists.horde.org
>
>
>
>
>
Yes, both UTC items are set to true in the config.
$conf['calendar']['params']['utc'] = true;
$conf['resource']['params']['utc'] = true;

setting timezone to true in Horde/registry.php fixes the problem, Is  
there some other config setting that I should be setting vs. changing  
registry.php?


----- End forwarded message -----



More information about the kronolith mailing list