Skip to content
Snippets Groups Projects
Verified Commit 1d968868 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix typo.

parent 00e0f237
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ class CalendarWeek: ...@@ -28,7 +28,7 @@ class CalendarWeek:
if not self.year: if not self.year:
self.year = today.year self.year = today.year
if not self.week: if not self.week:
self.week = int(today.strptime('%V')) self.week = int(today.strftime('%V'))
def __str__(self) -> str: def __str__(self) -> str:
return '%s %d (%s %s %s)' % (_('Kalenderwoche'), self.week, self[0], _('to'), self[-1]) return '%s %d (%s %s %s)' % (_('Kalenderwoche'), self.week, self[0], _('to'), self[-1])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment