Socket
Socket
Sign inDemoInstall

due-date-calculator

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    due-date-calculator

calculate due dates of for bugs


Version published
Weekly downloads
6
increased by500%
Maintainers
1
Install size
5.76 kB
Created
Weekly downloads
 

Readme

Source

Due Date Calculator

Standard - JavaScript Style Guide Build Status

Calculate due dates of bug reports with certain turnaround time.

const dueDateCalculator = require('due-date-calculator')

const submitDate = new Date('2016-11-22T14:40:00')
const turnaround = 16

console.log(dueDateCalculator(submitDate, turnaround))
// returns 2016.11.24. 14:40

install

$ npm i due-date-calculator

usage

dueDateCalculator(submitDate, turnaround)
  • submitDate, Date - the submission date of the bug report, required
  • turnaround, Number - the turnaround time of the bug report in working hours, required

Calculates the date, when the bug should be resolved.

test

$ npm test

FAQs

Last updated on 24 Nov 2016

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc