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

time

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

time - npm Package Compare versions

Comparing version 0.8.4 to 0.9.0

2

index.js

@@ -1,2 +0,1 @@

/**

@@ -454,2 +453,3 @@ * Module dependencies.

return this;
}

@@ -456,0 +456,0 @@

@@ -5,3 +5,3 @@ {

"keywords": ["date", "time", "time.h", "timezone", "setTimezone", "getTimezone"],
"version": "0.8.4",
"version": "0.9.0",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

@@ -55,2 +55,8 @@ var should = require('should')

it('should be chainable', function () {
var initial = process.env.TZ
, d = new time.Date().setTimezone('America/Argentina/San_Juan')
d.getTimezone().should.equal('America/Argentina/San_Juan')
})
it('should change the "timezone offset"', function () {

@@ -57,0 +63,0 @@ var d = new time.Date()

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