Keep : between hours, minutes, seconds

This commit is contained in:
Raymon Zutekouw
2021-11-23 11:09:58 +01:00
parent 12741a20c5
commit 6ed757b81b
+1 -1
View File
@@ -59,7 +59,7 @@ post_contents_org =
%{ %{
(String.slice(head, 2..-1) |> String.downcase() |> String.to_atom()) => (String.slice(head, 2..-1) |> String.downcase() |> String.to_atom()) =>
String.slice(Enum.join(tail, ""), 1..-1) String.slice(Enum.join(tail, ":"), 1..-1)
} }
end) end)
|> Enum.reduce(%{:content => File.read!("./posts_org/" <> &1 <> ".html")}, fn x, acc -> |> Enum.reduce(%{:content => File.read!("./posts_org/" <> &1 <> ".html")}, fn x, acc ->