Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0005789SOGoApple iPhone OSpublic2025-01-30 10:24
Reporteralex87 Assigned Tosebastien  
PrioritynormalSeverityminorReproducibilityhave not tried
Status feedbackResolutionreopened 
Product Version5.8.3 
Summary0005789: Wrong time Events
Description

Apple Iphone IOS 15.X Create Event Time/Zone Europe/Moscow. Web client sogo 30 minute wrong.

TagsNo tags attached.

Relationships

has duplicate 0006042 new Incorrect display of event time when created from Mac calendar client 

Activities

alex87

alex87

2023-06-14 14:20

reporter  

Screenshot_4.jpg (8,828 bytes)   
alex87

alex87

2023-06-14 14:58

reporter   ~0017027

BEGIN:VCALENDAR
PRODID:-//Apple Inc.//iPhone OS 16.3.1//EN
VERSION:2.0
CALSCALE:GREGORIAN
BEGIN:VTIMEZONE
TZID:Europe/Moscow
BEGIN:STANDARD
DTSTART:20010101T000000
TZNAME:GMT+3
TZOFFSETFROM:+023017
TZOFFSETTO:+023017
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20230613T161602Z
DTEND;TZID=Europe/Moscow:20230613T220000
DTSTAMP:20230613T161603Z
DTSTART;TZID=Europe/Moscow:20230613T210000
LAST-MODIFIED:20230613T161602Z
SEQUENCE:0
SUMMARY:Новое повторноееее
TRANSP:OPAQUE
UID:51CA7A7A-C08F-4A45-BE80-B17B6FF01D5D
CLASS:PUBLIC
END:VEVENT
END:VCALENDAR

S1ash

S1ash

2023-06-19 11:57

reporter   ~0017055

В SoObjects/Appointments/SOGoAppointmentObject.m

  • rqCalendar = [iCalCalendar parseSingleFromSource: [rq contentAsString]];
  • //rqCalendar = [iCalCalendar parseSingleFromSource: [rq contentAsString]];
  • NSString *myString = [rq contentAsString];
  • NSString *myStringEdited = [myString stringByReplacingOccurrencesOfString:@"TZOFFSETTO:+023017" withString:@"TZOFFSETTO:+0300"];
  • NSString *myStringEdited2 = [myStringEdited stringByReplacingOccurrencesOfString:@"TZOFFSETFROM:+023017" withString:@"TZOFFSETFROM:+0300"];
  • rqCalendar = [iCalCalendar parseSingleFromSource: myStringEdited2];

If you collect from the source, I added this hack. The problem is on the part of makosi and their crooked timezones. Couldn't find a more concise solution.

Если собираете из исходников, я дописал вот такой хак. Проблема со стороны макоси и их кривых таймзон. Более лаконичного решения не нашёл. Ребята отвечают на баги неохотно, отдавая предпочтение платной поддержке

alex87

alex87

2023-06-20 06:07

reporter   ~0017057

file SOGoAppointmentObject.m edited from source version 5.8.3 published download.

А не поделитесь правленым SOGoAppointmentObject.m

S1ash

S1ash

2023-06-20 09:27

reporter   ~0017060

Вот, поправил для 5.8.3, для предыдущих вплоть до где-то 5.7.0 подходит
костыль, но что поделать

SOGoAppointmentObject.m (97,181 bytes)   
alex87

alex87

2023-06-21 08:14

reporter   ~0017068

Respect. Complie succes.

Спасибо. Скомпилировал, установил баг. Ушел.

sebastien

sebastien

2023-06-27 13:04

administrator   ~0017092

The issue is on Apple side. You may need to open an issue on their BTS.

Sebastien

alex87

alex87

2024-03-21 10:54

reporter   ~0017663

Helo please fix version 5.9.1 - SOGoAppointmentObject.m

S1ash

S1ash

2024-03-21 11:21

reporter   ~0017664

Ну вы уж совсем не ленитесь диффнуть-то)
на строке 2563

rqCalendar = [iCalCalendar parseSingleFromSource: [rq contentAsString]];

меняйте на

NSString myString = [rq contentAsString];
NSString
myStringEdited = [myString stringByReplacingOccurrencesOfString:@"TZOFFSETTO:+023017" withString:@"TZOFFSETTO:+0300"];
NSString *myStringEdited2 = [myStringEdited stringByReplacingOccurrencesOfString:@"TZOFFSETFROM:+023017" withString:@"TZOFFSETFROM:+0300"];
rqCalendar = [iCalCalendar parseSingleFromSource: myStringEdited2];

stanito

stanito

2024-09-27 07:10

reporter   ~0017903

I can see, that this problem also happens on Android platform.
Also, if i use Thunderbird client, i can see that this "broken event" in Sogo calendar with wrong time shows correctly in Thunderbird calendar (as well as in Mac Calendar). So i guess there are some preliminary checks for the time offsets, that do not apply on Sogo side.
Also it is interesting, but if i choose different country with same timezome UTS +3, for example switch from Moscom city in Russia region into Mins city in Belarus region, this problem goes away and there is now such time offsets in .ics events that are created in Mac Calendar app.

DenisB

DenisB

2025-01-30 09:18

reporter   ~0018043

HI S1ash!
I have the same issue, but my installation is from Debian packages, not from the source. Could you please help me solve this problem?

S1ash

S1ash

2025-01-30 09:25

reporter   ~0018044

rather no, because we will have to disassemble and patch the library
besides, we are tired of supporting what the developers do not want to support and have gone to the original exchange, because all this headache with calendars has become quite tiresome)

DenisB

DenisB

2025-01-30 09:28

reporter   ~0018045

Do you mean MS Exchange? Could you explain?

S1ash

S1ash

2025-01-30 10:20

reporter   ~0018046

Yes, that's it. Well, despite all the attempts of the developers of Sogo to portray active sync, there are no global changes, fixes do not come out either, as in your situation. Constant problems with calendars, freezes, it is not clear where to dig, failures during operation, I'm tired of it

DenisB

DenisB

2025-01-30 10:24

reporter   ~0018047

S1ash, thank you so much for your response and the information!

Issue History

Date Modified Username Field Change
2023-06-14 14:20 alex87 New Issue
2023-06-14 14:20 alex87 File Added: Screenshot_4.jpg
2023-06-14 14:58 alex87 Note Added: 0017027
2023-06-19 11:57 S1ash Note Added: 0017055
2023-06-20 06:07 alex87 Note Added: 0017057
2023-06-20 09:27 S1ash Note Added: 0017060
2023-06-20 09:27 S1ash File Added: SOGoAppointmentObject.m
2023-06-21 08:14 alex87 Note Added: 0017068
2023-06-27 13:04 sebastien Note Added: 0017092
2023-06-27 13:04 sebastien Assigned To => sebastien
2023-06-27 13:04 sebastien Status new => feedback
2023-09-11 14:24 qhivert Status feedback => closed
2023-09-11 14:24 qhivert Resolution open => won't fix
2024-03-21 10:54 alex87 Status closed => feedback
2024-03-21 10:54 alex87 Resolution won't fix => reopened
2024-03-21 10:54 alex87 Note Added: 0017663
2024-03-21 11:21 S1ash Note Added: 0017664
2024-09-27 07:10 stanito Note Added: 0017903
2024-09-27 07:28 Christian Mack Relationship added has duplicate 0006042
2025-01-30 09:18 DenisB Note Added: 0018043
2025-01-30 09:25 S1ash Note Added: 0018044
2025-01-30 09:28 DenisB Note Added: 0018045
2025-01-30 10:20 S1ash Note Added: 0018046
2025-01-30 10:24 DenisB Note Added: 0018047