magentwo 0.1.8 → 0.1.81
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/lib/adapter.rb +1 -1
- data/magentwo.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eda5a55a11df61797a05b2f35d3fe0b20d6479d72872b3812823ca5e38fe05b0
|
4
|
+
data.tar.gz: 3f3f4ff404035cb0f5173c568e2c70eff45c5d1b8d9cc939432d8216f7a50328
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39cd5cf819232affd9d70751259f2312b86616ded6d44b7c5e157cc5cb813997287ab15623eb23488a96ba019e16e6c3dcd349d23512dd497b9c4831a12f2640
|
7
|
+
data.tar.gz: 070e57ef46f0129bd252693487040207655ab4e3b62171639e16dd80081d32712ac121ea191ad97ac00c2fba7ce6cee9778f2268129c968874b54033051d24da
|
data/.gitignore
CHANGED
data/lib/adapter.rb
CHANGED
@@ -54,7 +54,7 @@ module Magentwo
|
|
54
54
|
item[date_field] = Date.parse item[date_field] if item[date_field]
|
55
55
|
end
|
56
56
|
DateTimeFields.each do |datetime_field|
|
57
|
-
item[datetime_field] = Time.parse item[datetime_field] if item[datetime_field]
|
57
|
+
item[datetime_field] = (Time.parse "#{item[datetime_field]} UTC").getlocal if item[datetime_field]
|
58
58
|
end
|
59
59
|
item
|
60
60
|
end
|
data/magentwo.gemspec
CHANGED