Use local times for post dates

This commit is contained in:
2023-02-25 15:04:36 +11:00
parent 49bf9dc52d
commit f3cf53938e
5 changed files with 18 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ div class="mb-8"
= bookmark.content
== render :tags, tags: bookmark.tags
p class="text-sm u-url text-blue-400 hover:text-blue-600 dark:hover:text-blue-200"
p class="text-sm text-blue-400"
a href="/bookmark/#{bookmark.slug}"
= bookmark.display_published_at
time class="dt-published" datetime=bookmark.machine_published_at
= bookmark.display_published_at

View File

@@ -7,5 +7,5 @@ div class="mb-8 h-entry"
== render :tags, tags: post.tags
p class="text-sm text-blue-400"
time class="dt-published" datetime=post.published_at
time class="dt-published" datetime=post.machine_published_at
= post.display_published_at