Skip to content
Snippets Groups Projects
Verified Commit 0692aa75 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Set calendar feed language correctly

parent 3aac8257
No related branches found
No related tags found
1 merge request!1345Resolve "Set calendar feed language correctly"
Pipeline #156670 passed with warnings
......@@ -668,7 +668,7 @@ class CalendarEventMixin(RegistryObject):
@classmethod
def get_language(cls, request) -> str:
"""Return the language of the calendar feed."""
return "en" # FIXME
return request.LANGUAGE_CODE
@classmethod
def get_color(cls, request) -> str:
......
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