Ejemplo n.º 1
0
 def getDateForWeekday(self, weekday):
     return isoweek.weeknr2datetime(self.year, self.week, weekday)
Ejemplo n.º 2
0
 def weekEvents(self):
     """Show all events for a particular week"""
     start = isoweek.weeknr2datetime(self.default_day.year, self.week(), 1)
     stop = start + datetime.timedelta(7)
     months = self._getEventList(start=start,stop=stop)
     return self.eventlist(months=months, show_past=True)