mirror of
https://gitee.com/vant-contrib/vant.git
synced 2026-07-03 13:38:11 +08:00
Compare commits
3 Commits
086ba1603b
...
a308317f51
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a308317f51 | ||
|
|
9bd20b916a | ||
|
|
c5b4d1a663 |
@ -16,6 +16,14 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
|
||||
|
||||
## Details
|
||||
|
||||
### [v2.12.18](https://github.com/youzan/vant/compare/v2.12.17...v2.12.18)
|
||||
|
||||
`2021-05-10`
|
||||
|
||||
**Bug Fixes**
|
||||
|
||||
- Coupon: timestamp can be string type [c5b4d1](https://github.com/youzan/vant/commit/c5b4d1a66372b94420146f9a640aee31f402889a)
|
||||
|
||||
### [v2.12.17](https://github.com/youzan/vant/compare/v2.12.16...v2.12.17)
|
||||
|
||||
`2021-05-08`
|
||||
|
||||
@ -16,6 +16,14 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
|
||||
|
||||
## 更新内容
|
||||
|
||||
### [v2.12.18](https://github.com/youzan/vant/compare/v2.12.17...v2.12.18)
|
||||
|
||||
`2021-05-10`
|
||||
|
||||
**Bug Fixes**
|
||||
|
||||
- CouponList: 修复时间为字符串格式时展示错误的问题 [c5b4d1](https://github.com/youzan/vant/commit/c5b4d1a66372b94420146f9a640aee31f402889a)
|
||||
|
||||
### [v2.12.17](https://github.com/youzan/vant/compare/v2.12.16...v2.12.17)
|
||||
|
||||
`2021-05-08`
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vant",
|
||||
"version": "2.12.17",
|
||||
"version": "2.12.18",
|
||||
"description": "Mobile UI Components built on Vue",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
||||
@ -10,7 +10,7 @@ function formatTimeStamp(timeStamp) {
|
||||
if (timeStamp < 10 ** 12) {
|
||||
return timeStamp * 1000;
|
||||
}
|
||||
return timeStamp;
|
||||
return +timeStamp;
|
||||
}
|
||||
|
||||
function getDate(timeStamp) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user