tallty_import_export 1.0.9 → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8caa796932bff10fefba6f63f2d084488b1fcb2dd102f7fb1d3d8c84b4500244
4
- data.tar.gz: c46cdba654ab877946f7810d6d634c0ba326b882d9b177fba7dd17ed1b4350d9
3
+ metadata.gz: a04b3934c446e2bbf669f01a5e3db5f5cb898a10be14c46da3388b0d45f11ede
4
+ data.tar.gz: f4f1fa8e5cd8d58a52ecd6b82c7547181ee11078c41eeec4a22f4ada037de3c3
5
5
  SHA512:
6
- metadata.gz: 5d22ead9b9e98e6d2e23672bddcc2b187bea2287f2702c9b83a8bb3e32dc249c4e11d655b7bd2b2c68954bea7998ec4ff80e555ed93b5de8f7467fded4e2508c
7
- data.tar.gz: efc7da3bd4d17e2878fb2721948ccfabbbdb16b91981982be07b33f8165aa56e8b66dfb61e3242abb1773507bebd7b18cdfa891b601b55a64c3cc4356f586b5d
6
+ metadata.gz: cc7e2b3836f2feebbc23d4844079c57a78b470a7f103d4efd78d456ad4e6b574745668c99054375add3bbc936a62648b0340ab562a977f3b26df4856099a2a9a
7
+ data.tar.gz: 8eff47ec5ea1fa31a819c74f13073f23374819c70f7218ecaebbdfb3853fbb07a84f77943d80a0c55b7f8152afaa1cd68b94a207039b8876040ca52f5627ba73
@@ -174,6 +174,8 @@ module TalltyImportExport
174
174
  # 根据数据类型 attr_type 进行数据的格式化
175
175
  def handle_format data, header
176
176
  case header[:attr_type].to_s
177
+ when 'string'
178
+ date.to_s
177
179
  when 'datetime'
178
180
  data ? data.strftime('%F %H:%M') : nil
179
181
  when 'date'
@@ -1,3 +1,3 @@
1
1
  module TalltyImportExport
2
- VERSION = "1.0.9"
2
+ VERSION = "1.0.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tallty_import_export
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - liyijie
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-29 00:00:00.000000000 Z
11
+ date: 2021-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: zip-zip