mirror of
https://github.com/gryf/wmdocklib.git
synced 2025-12-20 04:48:06 +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)
|
dateStr = time.strftime(self.dateFmt, lt)
|
||||||
newWeekFmt = self.weekFmt
|
newWeekFmt = self.weekFmt
|
||||||
if self.recalcWeek:
|
if self.recalcWeek:
|
||||||
week = calculateWeek(lt)
|
week = self.calculateWeek(lt)
|
||||||
newWeekFmt = self.weekFmt.replace('%q', str(week))
|
newWeekFmt = self.weekFmt.replace('%q', str(week))
|
||||||
weekStr = time.strftime(newWeekFmt, lt)
|
weekStr = time.strftime(newWeekFmt, lt)
|
||||||
dayStr = time.strftime(self.dayFmt, lt)
|
dayStr = time.strftime(self.dayFmt, lt)
|
||||||
|
|||||||
Reference in New Issue
Block a user