Commit 07b4f681 authored by Lars Kruse's avatar Lars Kruse

Merge tag 'v3.1.2'

Bump version: patch
parents 0a8b8e71 eb910115
Pipeline #3020 failed with stages
in 6 minutes and 31 seconds
[bumpversion]
current_version = 3.1.1
current_version = 3.1.2
[bumpversion:file:VERSION]
[bumpversion:file:grouprise/__init__.py]
search = ^__version__ = '{current_version}'
grouprise (3.1.2-1) unstable; urgency=medium
* New upstream release
-- Lars Kruse <devel@sumpfralle.de> Thu, 04 Mar 2021 15:45:12 +0100
grouprise (3.1.1-1) unstable; urgency=medium
* New upstream release
......
import os
import subprocess
__version__ = '3.1.1'
__version__ = '3.1.2'
try:
_local_dir = os.path.dirname(__file__)
......
......@@ -8,7 +8,7 @@ urlpatterns = [
path('stadt/events/add', Create.as_view(), name='create-event'),
path('stadt/events/export', SiteCalendarExport.as_view(), name='export-site-events'),
path('stadt/events/public.ics', SiteCalendarFeed(), name='site-events-feed'),
path('stadt/events/<int:year>/<slug:month>/<int:day>', Day.as_view(), name='day-events'),
path('stadt/events/<int:year>/<int:month>/<int:day>', Day.as_view(), name='day-events'),
path('<slug:entity_slug>/events/add', Create.as_view(), name='create-group-event'),
path('<slug:group_slug>/events/export', GroupCalendarExport.as_view(),
name='group-events-export'),
......
......@@ -30,7 +30,7 @@ class EventCalendar(LocaleHTMLCalendar):
url = events[0].get_absolute_url()
elif len(events) > 1:
url = urls.reverse(
'day-events', args=['{{:%{}}}'.format(c).format(thedate) for c in 'Ybd'])
'day-events', args=['{{:%{}}}'.format(c).format(thedate) for c in 'Ymd'])
return {
'day': thedate.day,
'events': events,
......
......@@ -55,7 +55,7 @@ class Day(List):
def get_date(self):
return django.views.generic.dates._date_from_string(
self.kwargs['year'], '%Y',
self.kwargs['month'], '%b',
self.kwargs['month'], '%m',
self.kwargs['day'], '%d')
def get_queryset(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment