correct lint-elixir
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
<%= if @event.options.timezone == nil do %>
|
||||
<%= @date |> datetime_tz_convert(@timezone) |> datetime_to_string(@locale, :short) %>
|
||||
{@date |> datetime_tz_convert(@timezone) |> datetime_to_string(@locale, :short)}
|
||||
<% else %>
|
||||
<strong>
|
||||
<%= @date
|
||||
{@date
|
||||
|> datetime_tz_convert(@event.options.timezone)
|
||||
|> datetime_to_string(@locale, :short) %>
|
||||
|> datetime_to_string(@locale, :short)}
|
||||
</strong>
|
||||
<br />
|
||||
<%= if @event.options.timezone != @timezone do %>
|
||||
<span style="font-size: 13px;">
|
||||
<%= gettext("🌐 %{timezone} %{offset}",
|
||||
{gettext("🌐 %{timezone} %{offset}",
|
||||
timezone: @event.options.timezone,
|
||||
offset:
|
||||
@date
|
||||
|> datetime_tz_convert(@event.options.timezone)
|
||||
|> Cldr.DateTime.Formatter.zone_gmt()
|
||||
) %>
|
||||
)}
|
||||
</span>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user