From dd8716e5d94eed20a956eb928658833b66e5ec71 Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Wed, 26 Jan 2011 13:22:46 -0500 Subject: [PATCH] Don't show "[All Day] Nothing Scheduled" for "This week" or "Next week" Signed-off-by: David Zeuthen --- js/ui/calendar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/calendar.js b/js/ui/calendar.js index 457d04ece..edca1ccc5 100644 --- a/js/ui/calendar.js +++ b/js/ui/calendar.js @@ -690,13 +690,13 @@ EventsList.prototype = { dayBegin.setDate(dayEnd.getDate() + 1); dayEnd.setDate(dayBegin.getDate() + 6 - dayBegin.getDay()); - this._addPeriod(_("Next week"), dayBegin, dayEnd, true, true); + this._addPeriod(_("Next week"), dayBegin, dayEnd, true, false); return; } else { let d = 6 - dayEnd.getDay() - 1; dayBegin.setDate(dayBegin.getDate() + 1); dayEnd.setDate(dayEnd.getDate() + 1 + d); - this._addPeriod(_("This week"), dayBegin, dayEnd, true, true); + this._addPeriod(_("This week"), dayBegin, dayEnd, true, false); } },