From d35dfeea2116dc20ef626fbb99a77e537908c833 Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Wed, 27 Mar 2019 21:19:22 +1300 Subject: [PATCH] Show date taken, not data the database record was created --- app/views/photos/_thumbnail.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/photos/_thumbnail.html.haml b/app/views/photos/_thumbnail.html.haml index 3be4a26d6..c5a6a4de6 100644 --- a/app/views/photos/_thumbnail.html.haml +++ b/app/views/photos/_thumbnail.html.haml @@ -9,4 +9,4 @@ %i by = link_to photo.owner, photo.owner - = I18n.l(photo.created_at.to_date) + = I18n.l(photo.date_taken.to_date)