Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    AlldayEvent shifted by 2hours (WindowsMail vs. Outlook)

    Z-Push when using Kopano
    3
    9
    1715
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • deHoeninger
      deHoeninger last edited by

      Hello,

      I’m currently experiencing an wired issue with my z-push setup. On the same machine, I’m using Outlook and Windows Mail with z-push (currently 2.3.8 but issue was present with 2.3.7 as well).

      If I create or change an alldayevent in WindowsMail Calendar, its shown up correctly in WindowsMail but in the Outlook Calendar and on my mobiles, it’s shifted by two hours.
      Example:
      Windowsmail: Alldayevent on 16.09.2017
      Outlook: Alldayevent from 16.09.2016 2:00 to 17.09.2017 2:00
      Android Mobile: Alldayevent from 16.09.2016 2:00 to 17.09.2017 2:00

      But if I creat the same event in Outlook or on my mobileDevice, everything seems to be fine.
      Example:
      Outlook: Alldayevent on 16.09.2017
      MobileDevice: Alldayevent on 16.09.2017
      Windowsmail: Alldayevent on 16.09.2017

      Any ideas, what can by wrong with my setup? Obviously, using WindowsMail to create or change events seems to be causing that issue.

      Best Jan

      1 Reply Last reply Reply Quote 0
      • mcostan
        mcostan last edited by

        I have the same too (I haven’t checked recently though) on my android phone and the reason was that the locale on the phone wasn’t set to the same as the other calendars. (at least I think that was the reason).

        1 Reply Last reply Reply Quote 0
        • Manfred
          Manfred Kopano last edited by

          Hi Jan,

          like mcostan said it sounds like a locale issue or timezone setting.

          Do you have a WBXML log for such an event? Which KC version are you using? What is your OS and timezone settings in Z-Push, PHP and on the OS?

          Manfred

          deHoeninger 1 Reply Last reply Reply Quote 0
          • deHoeninger
            deHoeninger @Manfred last edited by

            Hi @manfred,
            thanks for your response. Indeed it sounds like a TZ issue. Please find attached the requested additional information.

            I’m running KC version 8.4.90.68-0+5.1 on the same Linux-Server as z-push with Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-47-generic x86_64).

            Timezone in z-push.config.php: define(‘TIMEZONE’, ‘Europe/Berlin’);
            Local Linux timezone is: Europe/Berlin
            Within php.ini: default, nothing specified

            The timezone on the Windows Maschine is (UTC +01:00) Amsterdam, Berlin, etc… + Automatic daylight saving time adjustment.

            I have WBXML logs as well, but don’t want to make it public here? Is there a way to sent those to you?

            Best Jan

            1 Reply Last reply Reply Quote 0
            • Manfred
              Manfred Kopano last edited by

              Hi Jan,

              if you have a subscription, you can open a ticket with support and they will forward it to me. Otherwise you can upload it somewhere password protected and send me link via private message here.

              Manfred

              1 Reply Last reply Reply Quote 0
              • deHoeninger
                deHoeninger last edited by

                Hi @Manfred
                I’ve sent you the file. According to the logs, it looks like Windows Mail isn’t sending any TZ information, so it seems to be translated to UTC (current offset +2hours to Berlin).

                Best Jan

                1 Reply Last reply Reply Quote 0
                • deHoeninger
                  deHoeninger last edited by

                  Some aditional information. In the webapp, all events, regardless from which of the above mentioned device, will be shown correclty as alldayevent without any offset.

                  Best Jan

                  1 Reply Last reply Reply Quote 0
                  • Manfred
                    Manfred Kopano last edited by Manfred

                    Hi Jan,

                    after checking this a little bit it looks like the combination of WindowsMail not sending a timezone information and then Z-Push guessing the timezone from system settings causes this issue.

                    All timestamps in ActiveSync are usually GMT and when the timezone is provided the devices calculate the offsets correctly. However the GMT timestamp with the wrong timezone information will cause the offset.
                    Compare these two snippets:
                    Outlook:

                    <POOMCAL:Timezone>
                    xP///00AaQB0AHQAZQBsAGUAdQByAG8AcADkAGkAcwBjAGgAZQAgAFoAZQBpAHQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAFAAMAAAAAAAAAAAAAAE0AaQB0AHQAZQBsAGUAdQByAG8AcADkAGkAcwBjAGgAZQAgAFMAbwBtAG0AZQByAHoAZQBpAHQAAAAAAAAAAAAAAAMAAAAFAAIAAAAAAAAAxP///w==
                    </POOMCAL:Timezone>
                    <POOMCAL:StartTime>
                     20170924T220000Z
                    </POOMCAL:StartTime>
                    

                    WindowsMail:

                    <POOMCAL:StartTime>
                     20170925T000000Z
                    </POOMCAL:StartTime>
                    
                    

                    Outlook sends timezone information (it’s Middle Europe DST) and the startime as GMT shifted by the timezone offset. WindowsMail sends no timezone information but Z-Push guesses Europe/Berlin from the system settings, but it should be GMT.

                    I’ve created a JIRA issue for this problem: https://jira.z-hub.io/browse/ZP-1289.

                    Manfred

                    1 Reply Last reply Reply Quote 0
                    • deHoeninger
                      deHoeninger last edited by

                      Hello,
                      issue seems to be fixed with z-push version 2.4

                      Best Jan

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post