From 1d9688684283aa0679831cbe5941127582474946 Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Sat, 14 Sep 2019 17:54:24 +0200 Subject: [PATCH] Fix typo. --- biscuit/apps/chronos/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biscuit/apps/chronos/util.py b/biscuit/apps/chronos/util.py index 735c5f1c..5c250f75 100644 --- a/biscuit/apps/chronos/util.py +++ b/biscuit/apps/chronos/util.py @@ -28,7 +28,7 @@ class CalendarWeek: if not self.year: self.year = today.year if not self.week: - self.week = int(today.strptime('%V')) + self.week = int(today.strftime('%V')) def __str__(self) -> str: return '%s %d (%s %s %s)' % (_('Kalenderwoche'), self.week, self[0], _('to'), self[-1]) -- GitLab