We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Time.now 導致傳至歐付寶的時間不正確
是使用 generate_checkout_params 時,要自行傳入 Time.zone.now / Time.current 去覆蓋嗎?
The text was updated successfully, but these errors were encountered:
Ruby 有 Time.zone.now 這個寫法嗎?這是 Rails 的吧? 另外我想知道歐付寶回傳什麼訊息,感謝!
Time.zone.now
Sorry, something went wrong.
沒錯,因為我也覺得在純ruby 中引入 activesupport 好像不太好。
不是歐付寶回傳的訊息不正確,而是新增訂單後,進歐付寶看訂單時間的時區會不正確。
你先試試如果 Time.now.getlocal 可以解決這個問題的話,可以送 PR,或是等到我有空來處理這個 issue(可能會很久XD)
Time.now.getlocal
No branches or pull requests
Time.now 導致傳至歐付寶的時間不正確
是使用 generate_checkout_params 時,要自行傳入 Time.zone.now / Time.current 去覆蓋嗎?
The text was updated successfully, but these errors were encountered: