diff --git a/biscuit/apps/chronos/util.py b/biscuit/apps/chronos/util.py index 735c5f1c2155a6a10f1d1f65fcb67eff31201fab..5c250f751361696f70547016b44fd0ef1c3b101d 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])