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.2-1.2.3 to 1.0.3-1.2.3

test/basic.js

4

lib/dateformat.js

@@ -44,4 +44,4 @@ /*

// Check if daylight-saving-time-switch occured and correct for it
var ds = targetThursday.getTimezoneOffset()/firstThursday.getTimezoneOffset()-1;
targetThursday.setHours(targetThursday.getHours()+ds);
var ds = targetThursday.getTimezoneOffset() - firstThursday.getTimezoneOffset();
targetThursday.setHours(targetThursday.getHours() - ds);

@@ -48,0 +48,0 @@ // Number of weeks between target Thursday and first Thursday

@@ -7,3 +7,8 @@ {

"author": "Steven Levithan",
"version": "1.0.2-1.2.3",
"contributors": [
"Steven Levithan",
"Felix Geisendörfer <felix@debuggable.com>",
"Christoph Tavan <dev@tavan.de>"
],
"version": "1.0.3-1.2.3",
"main": "./lib/dateformat",

@@ -15,2 +20,2 @@ "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