diff --git a/SoObjects/Appointments/MSExchangeFreeBusy.m b/SoObjects/Appointments/MSExchangeFreeBusy.m index be8f5919b..f991ee884 100644 --- a/SoObjects/Appointments/MSExchangeFreeBusy.m +++ b/SoObjects/Appointments/MSExchangeFreeBusy.m @@ -1,6 +1,6 @@ /* MSExchangeFreeBusy.m - this file is part of SOGo * - * Copyright (C) 2012-2014 Inverse inc. + * Copyright (C) 2012-2016 Inverse inc. * * This file is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/SoObjects/Appointments/MSExchangeFreeBusySOAPRequest.h b/SoObjects/Appointments/MSExchangeFreeBusySOAPRequest.h index 3553ef949..461e0fde4 100644 --- a/SoObjects/Appointments/MSExchangeFreeBusySOAPRequest.h +++ b/SoObjects/Appointments/MSExchangeFreeBusySOAPRequest.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012 Inverse inc. + Copyright (C) 2012-2016 Inverse inc. This file is part of SOGo. diff --git a/SoObjects/Appointments/MSExchangeFreeBusySOAPRequest.m b/SoObjects/Appointments/MSExchangeFreeBusySOAPRequest.m index 8c2e7f7d8..d193d393d 100644 --- a/SoObjects/Appointments/MSExchangeFreeBusySOAPRequest.m +++ b/SoObjects/Appointments/MSExchangeFreeBusySOAPRequest.m @@ -1,5 +1,5 @@ /* - Copyright (C) 2012 Inverse inc. + Copyright (C) 2012-2016 Inverse inc. This file is part of SOGo. @@ -28,6 +28,8 @@ #import #import #import +#import +#import #import "MSExchangeFreeBusySOAPRequest.h" @@ -110,4 +112,15 @@ return [NSString stringWithFormat: @"%i", interval]; } +- (NSString *) bias +{ + NSTimeZone *userTimeZone; + NSInteger secs; + + userTimeZone = [[[context activeUser] userDefaults] timeZone]; + secs = [userTimeZone secondsFromGMT]; + + return [NSString stringWithFormat: @"%i", (secs/60)]; +} + @end diff --git a/SoObjects/Appointments/MSExchangeFreeBusySOAPRequest.wo/MSExchangeFreeBusySOAPRequest.html b/SoObjects/Appointments/MSExchangeFreeBusySOAPRequest.wo/MSExchangeFreeBusySOAPRequest.html index 33627d9db..d50621afc 100644 --- a/SoObjects/Appointments/MSExchangeFreeBusySOAPRequest.wo/MSExchangeFreeBusySOAPRequest.html +++ b/SoObjects/Appointments/MSExchangeFreeBusySOAPRequest.wo/MSExchangeFreeBusySOAPRequest.html @@ -7,21 +7,21 @@ - 0 - - 0 - - 1 - 1 - Sunday - - - 0 - - 1 - 1 - Sunday - + <#bias/> + + 0 + + 1 + 11 + Sunday + + + -60 + + 2 + 3 + Sunday +