Commit 41934dc2 by liyijie

fix handle_format

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