mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 20:55:46 +08:00
修复
This commit is contained in:
@@ -58,8 +58,8 @@ namespace :import_from_chandao do
|
||||
issue.priority_id = randd_field_hash['优先级'].to_i
|
||||
issue.subject = randd_field_hash['任务名称']
|
||||
issue.description = randd_field_hash['任务描述']
|
||||
issue.created_on = randd_field_hash['创建日期'].to_time
|
||||
issue.updated_on = randd_field_hash['最后修改日期'].to_time rescue randd_field_hash['创建日期'].to_time
|
||||
issue.created_on = randd_field_hash['创建日期'].to_time rescue nil
|
||||
issue.updated_on = randd_field_hash['最后修改日期'].to_time rescue issue.created_on
|
||||
issue.time_scale = randd_field_hash['最初预计'].to_i
|
||||
issue.start_date = randd_field_hash['预计开始'].to_time rescue nil
|
||||
issue.due_date = randd_field_hash['截止日期'].to_time rescue nil
|
||||
|
||||
Reference in New Issue
Block a user