This commit is contained in:
j 2023-08-23 15:00:29 +02:00
parent 3153402ba9
commit aebf0891de

View file

@ -36,7 +36,7 @@ def index(request):
week, archive = models.Item.public(now)
context['items'] = week
if archive.exists():
context['archive'] = '/_%s/' % now.year
context['archive'] = '/_%s/' % get_now().year
if now:
context['now'] = now
context['previous_week'] = (now - timedelta(days=7)).strftime(TS_FORMAT)