[kronolith] Timezone not working

Michael J Rubinsky mrubinsk at horde.org
Mon Apr 28 18:31:15 UTC 2014


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



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5869 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/kronolith/attachments/20140428/8c1f143e/attachment.bin>


More information about the kronolith mailing list