From 0be92d52885e30374f298a67d5ae3d208bc6dafd Mon Sep 17 00:00:00 2001 From: xxq250 Date: Fri, 6 Jun 2025 10:18:07 +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?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/admins/projects_rank_controller.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/controllers/admins/projects_rank_controller.rb b/app/controllers/admins/projects_rank_controller.rb index 6db902e2e..c5bd5f552 100644 --- a/app/controllers/admins/projects_rank_controller.rb +++ b/app/controllers/admins/projects_rank_controller.rb @@ -42,10 +42,10 @@ class Admins::ProjectsRankController < Admins::BaseController sheet[index+1,0] = index+1 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.score - sheet[index+1,4] = d&.project&.project_category&.name - sheet[index+1,5] = d&.project&.created_on - sheet[index+1,6] = d&.project&.common? ? "独立创建" : "外部迁移" + 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,5] = d&.project&.common? ? "独立创建" : "外部迁移" + sheet[index+1,6] = d.score sheet[index+1,7] = d.visits sheet[index+1,8] = d.watchers sheet[index+1,9] = d.praises