oczpush
oczpush copied to clipboard
Calendar-Sync date error
Hi there, first, thanks for the great work. It just works. :-) But I have some strange behaviour with calendar-sync using my i-Devices. When I create an All-Day-Event on my iPad, in Owncloud it appears one day before the set date. Example: iPad: Event on Jan, 18th All-Day on my Owncloud i get: Event on Jan 17th All-day. then synced to my iPhone: Event on Jan 17th All-day
[Update] This morning I found the following: On my iPad: Event on Jan 18th 0:00 - 1:00 am On Owncloud-Web: Jan 18th 0:00 - 1:00 am - correct on my iPhone: Jan 17th 23:00 - 0:00 (=11pm - 0:00 am)
That means: 1.All-day-Events are shifted one day back while being sent from ipad to owncloud, oczpush sends "wrong" date to aother devices. 2. Events lasting only a few hours are displayed correctly in owncloud's web-interface but oczpush sends them shifted back one hour to other devices [/Update]
When I create the Event directly in Owncloud-Web-Interface or using CalDAV on my iPad everything is allright, even the sync to my iPhone using oczpush is correct.
Seems to be a part of the basic Time-Zone-Problem. My Time Zone is Europe/Berlin, set in php.ini, Owncloud and oczpush Any idea how to solve this?
Thanks for now MM77
By the way: I dont get HTML-Mail pushed using oczpush. Using original z-push, Mails are pushed with HTML-Code. Would be cool to integrate the latest z-push-Features.
Multi-Folder Calendar and Addressbooks would be great.
For HTML Mails you could add:
/* BEGIN fmbiete's contribution r1528, ZP-320 */ /** * Indicates which AS version is supported by the backend. * * @access public * @return string AS version constant */ public function GetSupportedASVersion() { return ZPush::ASV_14; } /* END fmbiete's contribution r1528, ZP-320 */
before the last }; ?>
Thank you for your advice. I already found exactly the mentioned code in my imap.php file. Do I have to put this code anywhere else? I cloned the repo on Monday evening, so I should have the latest version.