Compare commits

..

2 Commits

Author SHA1 Message Date
ca6367686e 1.0.9 2017-08-20 00:39:24 +02:00
0651c16222 fix units 2017-08-20 00:39:20 +02:00
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ exports.units = {
return timesArg * 8.64e+7;
},
hours: (timesArg = 1) => {
return timesArg * 3.6e+5;
return timesArg * 3.6e+6;
},
minutes: (timesArg = 1) => {
return timesArg * 60000;

View File

@ -1,6 +1,6 @@
{
"name": "smarttime",
"version": "1.0.8",
"version": "1.0.9",
"description": "handle timeformats in smart ways",
"main": "dist/index.js",
"typings": "dist/index.d.ts",

View File

@ -12,7 +12,7 @@ export let units = {
return timesArg * 8.64e+7
},
hours: (timesArg = 1) => {
return timesArg * 3.6e+5
return timesArg * 3.6e+6
},
minutes: (timesArg = 1) => {
return timesArg * 60000