From 6ffac40f8d1b9c78ff692e306737621775cfe5eb Mon Sep 17 00:00:00 2001 From: xxq250 Date: Fri, 6 Jun 2025 10:23:25 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20=E9=A1=B9=E7=9B=AE=E6=8E=92=E8=A1=8C?= =?UTF-8?q?=E5=AF=BC=E5=87=BA=E5=A2=9E=E5=8A=A03=E5=88=97,=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/admins/projects_rank_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admins/projects_rank_controller.rb b/app/controllers/admins/projects_rank_controller.rb index c5bd5f552..a4212643f 100644 --- a/app/controllers/admins/projects_rank_controller.rb +++ b/app/controllers/admins/projects_rank_controller.rb @@ -43,7 +43,7 @@ class Admins::ProjectsRankController < Admins::BaseController sheet[index+1,1] = "#{d&.project&.owner&.real_name}/#{d&.project&.name}" sheet[index+1,2] = "#{Rails.application.config_for(:configuration)['platform_url']}/#{d&.project&.owner&.login}/#{d&.project&.identifier}" sheet[index+1,3] = d&.project&.project_category&.name - sheet[index+1,4] = d&.project&.created_on.to_s.strftime("%Y-%m-%d %H:%M:%S") + sheet[index+1,4] = d&.project&.created_on.present? ? d&.project&.created_on.strftime("%Y-%m-%d %H:%M:%S") : "" sheet[index+1,5] = d&.project&.common? ? "独立创建" : "外部迁移" sheet[index+1,6] = d.score sheet[index+1,7] = d.visits