From ddeea66dc1ea0b79af8a624dc673a0994c8fa8fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cxxq250=E2=80=9D?= <“xxq250@qq.com”> Date: Thu, 15 Sep 2022 10:38:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A4=BE=E5=8C=BA=E5=8A=A8=E6=80=81=E5=90=8C?= =?UTF-8?q?=E6=AD=A5=E4=B8=BA=E8=B4=B4=E5=AD=90=E5=8F=91=E5=B8=83=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/home/platform_communicates/index.json.jbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/home/platform_communicates/index.json.jbuilder b/app/views/home/platform_communicates/index.json.jbuilder index 8b779984..a7d3d390 100644 --- a/app/views/home/platform_communicates/index.json.jbuilder +++ b/app/views/home/platform_communicates/index.json.jbuilder @@ -3,6 +3,6 @@ json.communicates do json.array! @communicates.each do |communicate| json.(communicate, :id, :title, :content, :fake_id) json.tag communicate.tag_field.include?(',') ? communicate.tag_field.split(",") : communicate.tag_field - json.created_time format_time(Memo.find_by(id: communicate.fake_id)&.published_time) + json.created_time format_time(Memo.find_by(id: communicate.fake_id)&.published_at) end end \ No newline at end of file