Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
forgot one time
Browse files Browse the repository at this point in the history
anthonyshull committed Jan 3, 2025
1 parent e5936b6 commit 126cf1c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/dotcom_web/components/trip_planner/place.ex
Original file line number Diff line number Diff line change
@@ -54,5 +54,9 @@ defmodule DotcomWeb.Components.TripPlanner.Place do
"""
end

defp format_time(datetime), do: Timex.format!(datetime, "%-I:%M %p", :strftime)
defp format_time(datetime) do
datetime
|> Timex.format!("%-I:%M%p", :strftime)
|> String.downcase()
end
end

0 comments on commit 126cf1c

Please sign in to comment.