mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
date don't change correctly in the view list (bug #973) fixed
This commit is contained in:
parent
e5d458c068
commit
65c14e21ce
1 changed files with 2 additions and 0 deletions
|
|
@ -661,10 +661,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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue