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

postgres-date

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postgres-date - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

8

index.js

@@ -46,3 +46,5 @@ 'use strict'

date.setTime(date.getTime() - offset)
if (offset !== 0) {
date.setTime(date.getTime() - offset)
}
} else {

@@ -88,2 +90,6 @@ date = new Date(year, month, day, hour, minute, second, ms)

function timeZoneOffset (isoDate) {
if (isoDate.endsWith('+00')) {
return 0
}
var zone = TIME_ZONE.exec(isoDate.split(' ')[1])

@@ -90,0 +96,0 @@ if (!zone) return

2

package.json
{
"name": "postgres-date",
"main": "index.js",
"version": "1.0.6",
"version": "1.0.7",
"description": "Postgres date column parser",

@@ -6,0 +6,0 @@ "license": "MIT",

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