Commit d58c2c54 by liyijie

fix string to_s error

parent 9fc8fc89
...@@ -175,7 +175,7 @@ module TalltyImportExport ...@@ -175,7 +175,7 @@ module TalltyImportExport
def handle_format data, header def handle_format data, header
case header[:attr_type].to_s case header[:attr_type].to_s
when 'string' when 'string'
date.to_s data.to_s
when 'datetime' when 'datetime'
data ? data.strftime('%F %H:%M') : nil data ? data.strftime('%F %H:%M') : nil
when 'date' when 'date'
......
module TalltyImportExport module TalltyImportExport
VERSION = "1.0.10" VERSION = "1.0.11"
end 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