Skip to content

Commit

Permalink
Call next week on next page on week view
Browse files Browse the repository at this point in the history
bug16
review48591002
  • Loading branch information
Sergi Almacellas Abellana committed Oct 2, 2018
1 parent b1dcd12 commit 8f8b808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion goocalendar/_calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def next_page(self):
if self.view == "month":
new_date = util.next_month(cal, self.selected_date)
elif self.view == "week":
new_date = util.next_month(cal, self.selected_date)
new_date = util.next_week(cal, self.selected_date)
self.select(new_date)

def set_view(self, level):
Expand Down

0 comments on commit 8f8b808

Please sign in to comment.