diff --git a/app/todomodule.cpp b/app/todomodule.cpp index 2980af0..f9e90f7 100644 --- a/app/todomodule.cpp +++ b/app/todomodule.cpp @@ -94,7 +94,7 @@ bool TodoModule::messageHandler(Message msg) if(splitter[deltaIndex].compare("every") == 0) { answer = usage(DURATION); - dateSplitter = dateString.split(':'); + dateSplitter = splitter[deltaIndex+1].split(':'); int hours = dateSplitter[0].toUInt(&ok); int minutes = 0; int seconds = 0;