Booked Scheduler Community Support
August 16, 2018, 11:26:22 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Booked is proud to recommend Shift Capsule in the employee shift scheduling space www.ShiftCapsule.com
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Need to disable .vcs attachements to emails due to DST not being included  (Read 869 times)
Shadychris
Newbie
*

Karma: 0
Posts: 23


« on: March 29, 2017, 09:08:19 PM »

Hope someone can help...

Since the clocks went forward 1 hour in the UK last Sunday my users have found that the .vcs calendar attachments are being entered into Outlook 1 hour later than the booking was made for. A google search on this DST issue with calendar appointments informs that any iCals that are entered into Outlook that do not have the DST info included will automatically be entered 1 hour later, due to Outlook compensating for the time difference by itself.

I have opened up one of my .vcs files and it is clear that there is no DST information being generated by Booked:-

Code:
BEGIN:VCALENDAR
VERSION:2.0
METHOD:REQUEST
PRODID:-//BookedScheduler//NONSGML //EN
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:
DESCRIPTION:
DTSTAMP:
DTSTART:20170329T080000Z
DTEND:20170329T123000Z
LOCATION:Laptop 02

As that code shows, the booking was made to commence at 08.00 but when that .vcs is imported into Outlook it will show as commencing at 09:00.

The confirmation email does state the correct time of the booking as indicated in the .vcs file including the correct UK time zone:
Starting: 29/03/2017 @ 08:00 (Europe/London)
Ending: 29/03/2017 @ 12:30 (Europe/London)

Here is an example of what a properly formatted calendar invite that takes into account DST should look like:

Code:
BEGIN:VCALENDAR
VERSION:2.0
METHOD:PUBLISH
BEGIN:VTIMEZONE
TZID:US-Eastern
BEGIN:STANDARD
DTSTART:20021027T020000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
TZNAME:Standard Time
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:20030406T020000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=4
TZOFFSETFROM:-0500
TZOFFSETTO:-0300
TZNAME:Daylight Savings Time
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
ORGANIZER:MAILTO:
DTSTART;TZID="US-Eastern":20031001T193000
DTEND;TZID="US-Eastern":20031001T213000
UID:041120008200E00074C5B7101A82E00800000000E06067EB3CFCBD010000000000000000
100
0000078CEAFD02868D211ABA000A0C911E8E4
DTSTAMP:19981021T043258Z
SUMMARY:Test event
END:VEVENT
END:VCALENDAR

Nothing like the simple vcs that is being generated on my system. So I need to find out why this is not happening... Is it just that my system is not passing the DST info on to Booked - or is it the case that Booked simply doesn't know how to deal with daylight saving time adjustments anyway?

Until I can get it sorted I need at the very least to stop these iCal invites being attached to my reservation confirmation emails. So far I have been unable to find any way to do that. I have turned off calendar subscriptions on all resources and schedules - but that does not seem to stop the iCal invites being attached to the emails....
Help pleeeeeeease !!!

Chris

PS using version 2.62 hosted on openSuSe 13.1 system

« Last Edit: March 29, 2017, 09:15:32 PM by Shadychris » Logged
Shadychris
Newbie
*

Karma: 0
Posts: 23


« Reply #1 on: April 11, 2017, 10:24:25 AM »

Finally - I found the answer.

The solution is DO NOT use your local timezone setting in the config file, but rather select UTC.
Doing that, in my case, then records the reservation time in the ics file 1 hour earlier than it was made on the system.  Outlook will then correct that by entering it as 1 hour later due to there being no DST info in the ics file.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!