chinese-date
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -39,3 +39,3 @@ module.exports = 中国日期 | ||
var 分钟 = Number(parseInt((时间差 - 小时 * 60 * 60) / 60)) | ||
return `${小时}小时${分钟}分钟前` | ||
return `${小时}小时 ${分钟}分钟前` | ||
} | ||
@@ -46,3 +46,3 @@ | ||
var 分钟 = new Date(时期).getMinutes() | ||
return `昨天${小时}点${分钟}分` | ||
return `昨天${小时}点 ${分钟}分` | ||
} | ||
@@ -59,3 +59,3 @@ | ||
return `${月}月${日}日` | ||
return `${月}月 ${日}日` | ||
} | ||
@@ -68,3 +68,3 @@ | ||
return `${年}年${月}月${日}日` | ||
return `${年}年 ${月}月 ${日}日` | ||
} |
{ | ||
"name": "chinese-date", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "汉语日期显示器", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2173