parent
88d5237680
commit
96f94713d7
1 changed files with 11 additions and 0 deletions
|
@ -19,6 +19,17 @@ module.exports = function(time, currentUnixTime){
|
|||
break;
|
||||
default:
|
||||
timeInSeconds = NaN;
|
||||
if(time.includes(':'))
|
||||
timeInSeconds = getTime(time, currentUnixTime);
|
||||
}
|
||||
return timeInSeconds;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function getTime(time, currentUnixTime) {
|
||||
|
||||
|
||||
|
||||
return timeInSeconds;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue