Socket
Socket
Sign inDemoInstall

dateformat

Package Overview
Dependencies
0
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.7-1.2.3 to 1.0.8-1.2.3

4

lib/dateformat.js

@@ -49,3 +49,3 @@ /*

var weekDiff = (targetThursday - firstThursday) / (86400000*7);
return 1 + weekDiff;
return 1 + Math.floor(weekDiff);
},

@@ -128,3 +128,3 @@

l: pad(L, 3),
L: pad(L > 99 ? Math.round(L / 10) : L),
L: pad(Math.round(L / 10)),
t: H < 12 ? "a" : "p",

@@ -131,0 +131,0 @@ tt: H < 12 ? "am" : "pm",

@@ -12,3 +12,3 @@ {

],
"version": "1.0.7-1.2.3",
"version": "1.0.8-1.2.3",
"main": "./lib/dateformat",

@@ -15,0 +15,0 @@ "dependencies": {},

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc