paypal-sdk-subscriptions 0.2.1 → 0.2.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7ef2b48c865422c5a5cabcabb015e08d4005e5c5bd9ddb7d843b9b20e6f4b60
|
4
|
+
data.tar.gz: 9b61cd74c811f06baf85d5fe35335b7a715b4fa8102ad79521c5978dc3f691d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 977ef24450013e919108cf20da39214e4a6c142ee9cb7e3daa96815e67bc7440a3cfa9647b1df63f9ffbd5f9890684309d7942dcc98f0adbb85885529d9266b3
|
7
|
+
data.tar.gz: 299f751e776d2fb8d9db056a4328a09da594514e9827f43f023428646a4d9fccc6b745607203f41ea789d5f91352baaa32057206996103f969314d842ce47b4b
|
@@ -116,7 +116,7 @@ module PayPal::SDK::Subscriptions
|
|
116
116
|
# option :end_time [Time|String] (default: now)
|
117
117
|
def transactions(options = {})
|
118
118
|
options[:start_time] ||= create_time
|
119
|
-
options[:end_time] ||= Time.now
|
119
|
+
options[:end_time] ||= Time.now.utc
|
120
120
|
|
121
121
|
start_time = DateTime.parse(options[:start_time].to_s).strftime('%Y-%m-%dT%H:%M:%S.%L%:z')
|
122
122
|
end_time = DateTime.parse(options[:end_time].to_s).strftime('%Y-%m-%dT%H:%M:%S.%L%:z')
|