parent
03bbe63cdc
commit
0e2c6dc5cd
1
NEWS
1
NEWS
|
@ -6,6 +6,7 @@ Bug fixes
|
||||||
- [web] fixed composition of new messages from Contacts module
|
- [web] fixed composition of new messages from Contacts module
|
||||||
- [web] fixed autocompletion of LDAP-based groups (#3673)
|
- [web] fixed autocompletion of LDAP-based groups (#3673)
|
||||||
- [web] fixed month view when current month covers six weeks (#3663)
|
- [web] fixed month view when current month covers six weeks (#3663)
|
||||||
|
- [web] fixed negative offset when converting a regular event to an all-day event (#3655)
|
||||||
|
|
||||||
3.1.0 (2016-05-18)
|
3.1.0 (2016-05-18)
|
||||||
------------------
|
------------------
|
||||||
|
|
|
@ -371,14 +371,7 @@
|
||||||
if (isAllDay)
|
if (isAllDay)
|
||||||
{
|
{
|
||||||
nbrDays = ((float) abs ([aptEndDate timeIntervalSinceDate: aptStartDate]) / 86400) + 1;
|
nbrDays = ((float) abs ([aptEndDate timeIntervalSinceDate: aptStartDate]) / 86400) + 1;
|
||||||
// Convert all-day start date to GMT (floating date)
|
[self setAllDayWithStartDate: aptStartDate
|
||||||
ud = [[context activeUser] userDefaults];
|
|
||||||
timeZone = [ud timeZone];
|
|
||||||
offset = [timeZone secondsFromGMTForDate: aptStartDate];
|
|
||||||
allDayStartDate = [aptStartDate dateByAddingYears: 0 months: 0 days: 0
|
|
||||||
hours: 0 minutes: 0
|
|
||||||
seconds: offset];
|
|
||||||
[self setAllDayWithStartDate: allDayStartDate
|
|
||||||
duration: nbrDays];
|
duration: nbrDays];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue