You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
318 B
JavaScript
13 lines
318 B
JavaScript
6 years ago
|
"use strict";
|
||
|
|
||
|
const makeUnits = require("../make-units");
|
||
|
|
||
|
module.exports = makeUnits([
|
||
|
{unit: "nanoseconds", toNext: 1000},
|
||
|
{unit: "microseconds", toNext: 1000},
|
||
|
{unit: "milliseconds", toNext: 1000},
|
||
|
{unit: "seconds", toNext: 60},
|
||
|
{unit: "minutes", toNext: 60},
|
||
|
{unit: "hours", toNext: 24},
|
||
|
{unit: "days"}
|
||
|
]);
|