mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Fix 'Today' button always showed wrong week when you clicked it on a Sunday (with weekday starts on Monday)
This commit is contained in:
parent
9de2bba126
commit
e2680aef64
@ -2647,7 +2647,7 @@ app.classes.calendar = AppJS.extend(
|
||||
diff = day === 6 ? 0 : day === 0 ? -1 : -(day + 1);
|
||||
break;
|
||||
case 'Monday':
|
||||
diff = day === 0 ? 1 : 1-day;
|
||||
diff = day === 0 ? -6 : 1-day;
|
||||
break;
|
||||
case 'Sunday':
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user