mirror of
https://github.com/gryf/wmdocklib.git
synced 2026-11-21 15:46:54 +01:00
small mistake. sorry. calculateWeek is a member of the application class.
This commit is contained in:
1 parent
06e5448771
commit
8d0689cc97
1 file changed
+1
-1
@@ -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