From 298bfdfda13dc3e878a2743ea8f777bd88c14943 Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Mon, 30 Apr 2018 04:25:56 -0400 Subject: [PATCH] Reuse viewTimestamp --- src/Views/Article.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Views/Article.elm b/src/Views/Article.elm index c1f229b83e..c1cc4a0446 100644 --- a/src/Views/Article.elm +++ b/src/Views/Article.elm @@ -35,7 +35,7 @@ view toggleFavorite article = [ img [ UserPhoto.src author.image ] [] ] , div [ class "info" ] [ Views.Author.view author.username - , span [ class "date" ] [ text (formattedTimestamp article) ] + , viewTimestamp article ] , Favorite.button toggleFavorite