From 0651c16222cf2b9d0c3f36f1900907b691ccf939 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sun, 20 Aug 2017 00:39:20 +0200 Subject: [PATCH] fix units --- dist/smarttime.units.js | 2 +- ts/smarttime.units.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/smarttime.units.js b/dist/smarttime.units.js index 9b68a80..2e40000 100644 --- a/dist/smarttime.units.js +++ b/dist/smarttime.units.js @@ -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; diff --git a/ts/smarttime.units.ts b/ts/smarttime.units.ts index ba23f16..bfdbbb0 100644 --- a/ts/smarttime.units.ts +++ b/ts/smarttime.units.ts @@ -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