feat: metadata, frontmatter, write atomicity should now be in

This commit is contained in:
2026-04-24 10:16:21 +02:00
parent 1d15de60de
commit a3f2c4a5f7
25 changed files with 479 additions and 136 deletions

View File

@@ -312,7 +312,7 @@ defmodule BDS.RenderingTest do
end
defp canonical_post_href(post) do
datetime = DateTime.from_unix!(post.created_at)
datetime = DateTime.from_unix!(post.created_at, :millisecond)
"/#{datetime.year}/#{String.pad_leading(Integer.to_string(datetime.month), 2, "0")}/#{String.pad_leading(Integer.to_string(datetime.day), 2, "0")}/#{post.slug}/"
end