mirror of
https://github.com/gryf/wmdocklib.git
synced 2025-12-18 20:10:23 +01:00
small mistake. sorry. calculateWeek is a member of the application class.
This commit is contained in:
@@ -181,7 +181,7 @@ class Application(wmoo.Application):
|
||||
dateStr = time.strftime(self.dateFmt, lt)
|
||||
newWeekFmt = self.weekFmt
|
||||
if self.recalcWeek:
|
||||
week = calculateWeek(lt)
|
||||
week = self.calculateWeek(lt)
|
||||
newWeekFmt = self.weekFmt.replace('%q', str(week))
|
||||
weekStr = time.strftime(newWeekFmt, lt)
|
||||
dayStr = time.strftime(self.dayFmt, lt)
|
||||
|
||||
Reference in New Issue
Block a user