fmbiete / Z-Push-contrib

Z-Push fork with changes that I will try to contrib
GNU Affero General Public License v3.0
134 stars 62 forks source link

Wrong Time with BackendCalDAV #286

Closed Offerel closed 7 years ago

Offerel commented 7 years ago

At this time, i try to connect Z-Push with BackendIMAP to Nextcloud. On my Android Device, i use DavDroid to sync CalDAV. All Events have the correct start time as in the WebGUI. If i sync the same Calendar with Z-Push some (not all) events are shifted + 1 hour.

Global PHP Timezone is Europe/Berlin and in Z-Push Settings i have the directive define('TIMEZONE', 'Europe/Berlin').

Why are some events shifted and others not? What can i do?

Offerel commented 7 years ago

I think, i have found something in the Logfile:

TimezoneUtil::getMSTZnameFromTZName() no MS name found for 'W. Europe Standard Time'. Returning '(GMT) Greenwich Mean Time: Dublin, Edinburgh, Lisbon, London'

Can i fix this, when i change the timezone info for this events? What should i use as format? "Europe/Berlin" or some other?

holdenger commented 7 years ago

@Offerel I have the same exact problem. How did you resolve this?

Offerel commented 7 years ago

I cant remember, since i use now SabreDAV. NextCloud itself is to slow for my needs. In SabreDAV there was a Fix for this issue. I have seen also a Fix in a Z-Push Beta Trunk. I didn't know, if this was released yet.

holdenger commented 7 years ago

Well, i use SabreDAV too (not own/nextcloud), i use latest Z-Push (2.3.5) and i have this problem. Probably i should try latest SabreDAV version.