Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

chinese-date

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chinese-date - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

8

index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc