diff options
-rw-r--r-- | src/components/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/mod.rs b/src/components/mod.rs index dc7442d..c0ad1dc 100644 --- a/src/components/mod.rs +++ b/src/components/mod.rs @@ -317,6 +317,8 @@ pub fn PostItem<'a>( <br /> <small> {lang.tr("submitted", None)} + {" "} + <TimeAgo since={chrono::DateTime::parse_from_rfc3339(&post.as_ref().created).unwrap()} lang /> { if no_user { None |