fix: more fixes to file formats

This commit is contained in:
2026-04-25 11:35:36 +02:00
parent 5ecd90ae65
commit b90a4569da
18 changed files with 477 additions and 181 deletions

View File

@@ -175,5 +175,8 @@ defmodule BDS.Frontmatter do
end
end
defp timestamp_key?(key), do: String.ends_with?(to_string(key), "_at")
defp timestamp_key?(key) do
rendered = to_string(key)
String.ends_with?(rendered, "_at") or String.ends_with?(rendered, "At")
end
end