forked from GitHub/dbot
test
This commit is contained in:
parent
a58e1fcc4b
commit
2ebeea1ef4
@ -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":
|
||||||
|
Loading…
Reference in New Issue
Block a user