Re: Timezone not working

Michael J Rubinsky <[email protected]>
Newsgroups gmane.comp.horde.kronolith
Message-ID <20140428143115.Horde.ZOl_ytho7w1iL-LE5RNRqg2@h4.theupstairsroom.com>
Quoting Will Holland <[email protected]>:

> 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@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: [email protected]



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject

-- 
kronolith mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
smime.p7s (application/pkcs7-signature, 5.7 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.