Commit 9816c47b by liyijie

feat: 对于true和false,转换为中文是否导出

parent 973f5adb
......@@ -230,6 +230,10 @@ module TalltyImportExport
data.in_time_zone.strftime('%F %H:%M')
elsif data.is_a?(Date)
data.in_time_zone.strftime('%F')
elsif data.is_a?(TrueClass)
'是'
elsif data.is_a?(FalseClass)
'否'
else
data
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment