Commit 41934dc2 by liyijie

fix handle_format

parent b6a1694f
......@@ -179,9 +179,9 @@ module TalltyImportExport
when 'string'
data.to_s
when 'datetime'
data ? data.strftime('%F %H:%M') : nil
data ? data.in_time_zone.strftime('%F %H:%M') : nil
when 'date'
data ? data.strftime('%F') : nil
data ? data.in_time_zone.strftime('%F') : nil
else
data
end
......
module TalltyImportExport
VERSION = "1.0.20"
VERSION = "1.0.21"
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