summaryrefslogtreecommitdiffstats
path: root/src/routes/posts.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/posts.rs')
-rw-r--r--src/routes/posts.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/posts.rs b/src/routes/posts.rs
index 0f47720..feaf0da 100644
--- a/src/routes/posts.rs
+++ b/src/routes/posts.rs
@@ -74,7 +74,7 @@ async fn page_post(
</p>
<p>
{lang.tr("submitted", None)}
- {" "}<TimeAgo since={chrono::DateTime::parse_from_rfc3339(&post.as_ref().created)?} />
+ {" "}<TimeAgo since={chrono::DateTime::parse_from_rfc3339(&post.as_ref().created)?} lang={&lang} />
{" "}{lang.tr("by", None)}{" "}<UserLink user={post.as_ref().author.as_ref()} />
{" "}{lang.tr("to", None)}{" "}<CommunityLink community={&post.as_ref().community} />
</p>