This commit is contained in:
reality 2016-04-11 21:49:17 +00:00
parent a58e1fcc4b
commit 2ebeea1ef4

View File

@ -30,6 +30,8 @@ var remind = function(dbot) {
this.internalAPI = { this.internalAPI = {
'getSeconds': function(number,interval) { 'getSeconds': function(number,interval) {
switch(interval) { switch(interval) {
case "y":
return number * 365 * 60 * 60;
case "d": case "d":
return number*24*60*60; return number*24*60*60;
case "h": case "h":