Merge remote-tracking branch 'origin/main'

This commit is contained in:
778a69cd 2023-10-11 17:42:31 +02:00
commit 7cd4b34cb8
3 changed files with 3 additions and 0 deletions

View file

@ -25,5 +25,6 @@
"ru": "Русский", "ru": "Русский",
"sl": "Slovenščina", "sl": "Slovenščina",
"sv": "Svenska", "sv": "Svenska",
"zh_Hans": "简体字",
"zh_Hant": "繁體字" "zh_Hant": "繁體字"
} }

View file

@ -127,6 +127,7 @@ defmodule Mobilizon.Service.Export.ICalendar do
description: HTML.strip_tags(event.description), description: HTML.strip_tags(event.description),
uid: event.uuid, uid: event.uuid,
url: event.url, url: event.url,
status: event.status,
organizer: organizer(event) organizer: organizer(event)
} }

View file

@ -27,6 +27,7 @@ defmodule Mobilizon.Service.ICalendarTest do
GEO:#{event.physical_address |> Address.coords() |> Tuple.to_list() |> Enum.join(";")} GEO:#{event.physical_address |> Address.coords() |> Tuple.to_list() |> Enum.join(";")}
LOCATION:#{Address.representation(event.physical_address)} LOCATION:#{Address.representation(event.physical_address)}
ORGANIZER:#{event.organizer_actor.name} ORGANIZER:#{event.organizer_actor.name}
STATUS:#{event.status |> to_string() |> String.upcase()}
SUMMARY:#{event.title} SUMMARY:#{event.title}
UID:#{event.uuid} UID:#{event.uuid}
URL:#{event.url} URL:#{event.url}