Socket
Socket
Sign inDemoInstall

zol-datetime

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zol-datetime - npm Package Compare versions

Comparing version 0.1.16 to 0.1.17

2

dist/zol-datetime.es5.js

@@ -142,3 +142,3 @@ import { Duration, LocalDate, LocalTime, Period, ZoneOffset, ZonedDateTime } from 'js-joda';

function instantCol(val) {
return Unsafe.unsafeCast(textCol(val.toString()), "TIMESTAMP", instantParser);
return Unsafe.unsafeCast(textCol(val.toString()), "TIMESTAMPTZ", instantParser);
}

@@ -145,0 +145,0 @@ function instantParser(val) {

@@ -145,3 +145,3 @@ (function (global, factory) {

function instantCol(val) {
return zol.Unsafe.unsafeCast(zol.textCol(val.toString()), "TIMESTAMP", instantParser);
return zol.Unsafe.unsafeCast(zol.textCol(val.toString()), "TIMESTAMPTZ", instantParser);
}

@@ -148,0 +148,0 @@ function instantParser(val) {

{
"name": "zol-datetime",
"version": "0.1.16",
"version": "0.1.17",
"description": "SQL Date/Time functionality for Zol",

@@ -49,4 +49,4 @@ "keywords": [

"js-joda": "^1.5.4",
"zol": "^0.1.16"
"zol": "^0.1.17"
}
}

@@ -15,3 +15,3 @@ import { Duration, Instant, LocalDate, LocalDateTime, LocalTime, Period } from "js-joda";

export function instantCol<s>(val: Instant): Col<s, Instant> {
return Unsafe.unsafeCast(<any>textCol(val.toString()), "TIMESTAMP", instantParser);
return Unsafe.unsafeCast(<any>textCol(val.toString()), "TIMESTAMPTZ", instantParser);
}

@@ -18,0 +18,0 @@

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