diff --git a/app/controllers/announcements_controller.rb b/app/controllers/announcements_controller.rb index 482cd8f..3835a9c 100644 --- a/app/controllers/announcements_controller.rb +++ b/app/controllers/announcements_controller.rb @@ -203,7 +203,7 @@ class AnnouncementsController < ApplicationController "title" => announcement.title, "categories-title" => t("announcement.categories"), "update_user" => update_user, - "updated_at" => announcement.updated_at.strftime('%Y-%m-%d %H:%M'), + "updated_at" => announcement.postdate.strftime('%Y-%m-%d %H:%M'), "body" =>announcement.text, "image" => announcement.image.url, "dept_link" => "/#{I18n.locale.to_s + page.url}/?unit=#{announcement.cache_dept}",