New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

phpdate-js

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

phpdate-js - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

Readme.md

4

lib/phpdate.js

@@ -227,3 +227,3 @@ /**

var tzMap = {
'0': ['GMT', 'GMT', 'GMT'],
'0': ['GMT', 'GMT', 'UTC'],
'240': ['AST', 'ADT', 'Atlantic'],

@@ -238,2 +238,4 @@ '300': ['EST', 'EDT', 'US/Eastern'],

// FIXME: only detects a few timezone abbreviations, and presumes US
// TODO: probe timezone abbreviations with
// child_process.exec("date +%Z --date @0") and "date +%Z --date @1500000000"
var tzCode = tzMap[winterOffset] ? tzMap[winterOffset][0 + isCurrentlyDst] : now.toString().slice(35, 38);

@@ -240,0 +242,0 @@ var tzName = tzMap[winterOffset] ? tzMap[winterOffset][2] : '???';

{
"name": "phpdate-js",
"version": "0.9.0",
"version": "0.9.1",
"description": "php date() work-alike for nodejs",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

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