lib/alipay/service.rb in alipay-0.6.0.beta2 vs lib/alipay/service.rb in alipay-0.6.0.beta3
- old
+ new
@@ -94,10 +94,10 @@
params = {
'service' => 'forex_refund',
'partner' => options[:pid] || Alipay.pid,
'_input_charset' => 'utf-8',
- 'gmt_return' => Time.now.strftime('%Y%m%d%H%M%S')
+ 'gmt_return' => Time.now.getlocal('+08:00').strftime('%Y%m%d%H%M%S')
}.merge(params)
request_uri(params, options).to_s
end