Skip to content

gerhardberger/due-date-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Calculate due dates of bugs reports.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published