View Issue Details

IDProjectCategoryView StatusLast Update
0004592SOGoWeb Calendarpublic2018-11-14 03:33
Reporterbrendanpward Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version4.0.4 
Summary0004592: Single day calendar event also appears in following day
Description

When creating a single day event, if the end time is after 2300hrs, the event also appears on the following day in the month view.

Steps To Reproduce

-Set calendar view to month view.
-Create a single day event and set the end time to be anything from 2301hrs to 2359hrs.

Additional Information

-User's timezone is set to America/Edmonton
-Server's timezone is set to America/Edmonton
-Tested using Chrome and FireFox

See attached screenshot

TagsNo tags attached.

Activities

brendanpward

brendanpward

2018-11-12 22:02

reporter  

brendanpward

brendanpward

2018-11-12 22:12

reporter   ~0013170

Last edited: 2018-11-12 22:46

After I posted this, I ran another test:
If I set the start date to 2018-11-15 2315hrs and end date to 2018-11-15 2330hrs, the event appears entirely on 2018-11-16 on the month view.
This occurs for any event where the start time is 2301hrs or later.

Christian Mack

Christian Mack

2018-11-13 08:07

developer   ~0013171

Which timezone did you set in sogo.conf?

brendanpward

brendanpward

2018-11-13 13:10

reporter   ~0013174

It had been set to the following:
SOGoTimeZone = "America/New_York";

It's now this:
SOGoTimeZone = "America/Edmonton";

Restarted the server and added a new event as above. The error still occurs.

brendanpward

brendanpward

2018-11-13 23:01

reporter   ~0013179

Last edited: 2018-11-14 03:19

This is the raw data from an event I just created within the calendar:

BEGIN:VCALENDAR
PRODID:-//Inverse inc./SOGo 4.0.4//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:America/Edmonton
X-LIC-LOCATION:America/Edmonton
BEGIN:DAYLIGHT
TZOFFSETFROM:-0700
TZOFFSETTO:-0600
TZNAME:MDT
DTSTART:19700308T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0600
TZOFFSETTO:-0700
TZNAME:MST
DTSTART:19701101T020000
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
UID:8CD-5BEB5480-19-66E90300
SUMMARY:Test
CLASS:PUBLIC
TRANSP:OPAQUE
DTSTART;TZID=America/Edmonton:20181113T154500
DTEND;TZID=America/Edmonton:20181113T164500
CREATED:20181113T224808Z
DTSTAMP:20181113T224808Z
LAST-MODIFIED:20181113T224808Z
END:VEVENT
END:VCALENDAR

brendanpward

brendanpward

2018-11-14 03:18

reporter   ~0013180

Last edited: 2018-11-14 03:33

I've been doing some testing on the SOGo demo site, and can confirm that this is not just an issue on my server. Switching up the user's timezone and adding an event with an end time in the last hour of the day only seems to cause issues for certain timezones.

Some timezones where this is also an issue:
America/Adak
America/Boise
America/Yellowknife
America/Inuvik
America/New_York
America/Nassau

Issue History

Date Modified Username Field Change
2018-11-12 22:02 brendanpward New Issue
2018-11-12 22:02 brendanpward File Added: Screenshot from 2018-11-12 14-39-54.png
2018-11-12 22:12 brendanpward Note Added: 0013170
2018-11-12 22:46 brendanpward Note Edited: 0013170
2018-11-13 08:07 Christian Mack Note Added: 0013171
2018-11-13 13:10 brendanpward Note Added: 0013174
2018-11-13 23:01 brendanpward Note Added: 0013179
2018-11-14 03:18 brendanpward Note Added: 0013180
2018-11-14 03:19 brendanpward Note Edited: 0013179
2018-11-14 03:29 brendanpward Note Edited: 0013180
2018-11-14 03:33 brendanpward Note Edited: 0013180