Skip to content
Snippets Groups Projects
Commit 8c28aec6 authored by Björn Schießle's avatar Björn Schießle
Browse files

date don't change correctly in the view list (bug #973) fixed

parent ba2d203a
No related branches found
No related tags found
No related merge requests found
......@@ -705,10 +705,12 @@ function ListView(element, calendar) {
if (delta) {
if (delta < 0){
addDays(t.start, -7);
addDays(t.end, -7);
if (!opt('weekends')) {
skipWeekend(t.start, delta < 0 ? -1 : 1);
}
}else{
addDays(t.start, 7);
addDays(t.end, 7);
if (!opt('weekends')) {
skipWeekend(t.end, delta < 0 ? -1 : 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment