master
This commit is contained in:
@@ -8,4 +8,4 @@ if your input does not does not look like dhms it is no problem as long as you u
|
||||
|
||||
so ToSec('7h5m') retuns 25500
|
||||
|
||||
the programm is not case sensitive so 7H5m returns the same as 7h5M or 7h5m
|
||||
the programm is not case sensitive so 7H5m or 7h5M will return the same as 7h5m
|
||||
@@ -60,7 +60,6 @@ function ToDay(input){
|
||||
return total;
|
||||
}
|
||||
|
||||
|
||||
module.exports = {
|
||||
ToSec,
|
||||
ToMin,
|
||||
|
||||
+4
-4
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "time-convert",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"name": "timestringtonumber",
|
||||
"version": "1.0.2",
|
||||
"description": "generetes a number from a time string",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"start": "node index.js"
|
||||
},
|
||||
"author": "",
|
||||
"author": "kaj van schalkwijk",
|
||||
"license": "ISC"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user