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

dateformat

Package Overview
Dependencies
Maintainers
4
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dateformat - npm Package Compare versions

Comparing version 2.0.0 to 2.2.0

.vs/config/applicationhost.config

2

lib/dateformat.js

@@ -165,3 +165,3 @@ /*

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

@@ -168,0 +168,0 @@ targetThursday.setHours(targetThursday.getHours() - ds);

@@ -13,3 +13,3 @@ {

],
"version": "2.0.0",
"version": "2.2.0",
"license": "MIT",

@@ -16,0 +16,0 @@ "main": "lib/dateformat",

@@ -40,4 +40,3 @@ # dateformat

// When using the standalone dateFormat function,
// you can also provide the date as a string
// You can also provide the date as a string
dateFormat("Jun 9 2007", "fullDate");

@@ -44,0 +43,0 @@ // Saturday, June 9, 2007

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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