cuter44/wxpay-sdk

[wxpay] Time and timestamp type parameters may suffer from timezone difference.

Closed this issue · 0 comments

Due to latest explaination from wxpay official page. The current release may not meet the standards.

It is supposed to boom while converting between wxpay's time format(yyyyMMddHHmmss)(with GMT+8 timezone) and java.util.Date(w/o timezone) on a non-CST environment.
No reports received so far. So I haven't take a further exam to ensure its existence.

Currently there is no patch to it.
If you are suffering it, a quick way is to adjust your environment to make it using GMT+8 timezone. The JRE will apply this right fitting the wxpay requirement.
If you are not doing that, try to make a jury patch yourself, this should be rather easy for a skilled developer.

Sorry for the inconvenience.