Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
ca6367686e | |||
0651c16222 |
2
dist/smarttime.units.js
vendored
2
dist/smarttime.units.js
vendored
@ -14,7 +14,7 @@ exports.units = {
|
|||||||
return timesArg * 8.64e+7;
|
return timesArg * 8.64e+7;
|
||||||
},
|
},
|
||||||
hours: (timesArg = 1) => {
|
hours: (timesArg = 1) => {
|
||||||
return timesArg * 3.6e+5;
|
return timesArg * 3.6e+6;
|
||||||
},
|
},
|
||||||
minutes: (timesArg = 1) => {
|
minutes: (timesArg = 1) => {
|
||||||
return timesArg * 60000;
|
return timesArg * 60000;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "smarttime",
|
"name": "smarttime",
|
||||||
"version": "1.0.8",
|
"version": "1.0.9",
|
||||||
"description": "handle timeformats in smart ways",
|
"description": "handle timeformats in smart ways",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
|
@ -12,7 +12,7 @@ export let units = {
|
|||||||
return timesArg * 8.64e+7
|
return timesArg * 8.64e+7
|
||||||
},
|
},
|
||||||
hours: (timesArg = 1) => {
|
hours: (timesArg = 1) => {
|
||||||
return timesArg * 3.6e+5
|
return timesArg * 3.6e+6
|
||||||
},
|
},
|
||||||
minutes: (timesArg = 1) => {
|
minutes: (timesArg = 1) => {
|
||||||
return timesArg * 60000
|
return timesArg * 60000
|
||||||
|
Reference in New Issue
Block a user