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
问题cr: f899861 现在ts里写的是 parseInt((Date.now() / 1000).toFixed(0), 10) 之前的编译结果是 intval(round((\Ts2Php_Date::now() / 1000), 0)) ) 上述cr合入之后,编译结果变为 intval(number_format((\Ts2Php_Date::now() / 1000), 0))
parseInt((Date.now() / 1000).toFixed(0), 10)
intval(round((\Ts2Php_Date::now() / 1000), 0)) )
intval(number_format((\Ts2Php_Date::now() / 1000), 0))
导致返回始终为1。 原因为: round返回的是number,比如 1000 number_format返回的是返回的是以千位分隔符方式格式化的一个数字字符串,比如 '1,000'
应该把number_format之后的结果去掉','并转为数字
The text was updated successfully, but these errors were encountered:
82e326a
Merge pull request #108 from searchfe/warn-fix
cd5e8f5
fix: #107
chore(release): 0.19.13 [skip ci]
a4a9d0d
## [0.19.13](v0.19.12...v0.19.13) (2020-02-08) ### Bug Fixes * [#107](#107) ([82e326a](82e326a))
🎉 This issue has been resolved in version 0.19.13 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
meixg
No branches or pull requests
问题cr: f899861
现在ts里写的是
parseInt((Date.now() / 1000).toFixed(0), 10)
之前的编译结果是
intval(round((\Ts2Php_Date::now() / 1000), 0)) )
上述cr合入之后,编译结果变为
intval(number_format((\Ts2Php_Date::now() / 1000), 0))
导致返回始终为1。
原因为:
round返回的是number,比如 1000
number_format返回的是返回的是以千位分隔符方式格式化的一个数字字符串,比如 '1,000'
应该把number_format之后的结果去掉','并转为数字
The text was updated successfully, but these errors were encountered: