Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
jde-date-time
Advanced tools
A NodeJS and JavaScript Library to manage conversions of JDE Dates/Times to JS Dates/Times and vice versa
A NodeJS and JavaScript Library to manage conversions of JDE Dates/Times to JS Dates/Times and vice versa
Created by Agilit-e
Installation
Using npm:
npm install jde-date-time
In Node.js:
var jde = require('jde-date-time');
jde-date-time is a simple Javascript and NodeJS Library to manage conversions between JDE Date and Time formats to Javascript Date and Time formats and vice versa.
Pay close attention to parameters types
var jde = require('jde-date-time');
//Converting JDE Date to Javascript Date
console.log(jde.convertJDEDateToJSDate(118342)); //Outputs: 'Sat Dec 08 2018'
//Converting JDE Time to Javascript Time
console.log(jde.convertJDETimeToJSTime(123423)); //Ouptuts: '12:34:23'
//Converting Javascript Date to JDE Date
console.log(jde.convertJSDateToJDEDate('2018-12-08')); //Outputs: '118342'
//Converting Javascript Time to JDE Time
console.log(jde.convertJSTimeToJDETime('12:32:16')); //Outputs: '123216'
npm run test
FAQs
A NodeJS and JavaScript Library to manage conversions of JDE Dates/Times to JS Dates/Times and vice versa
We found that jde-date-time demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.