Do not modify time object in new_reminder

timezones etc. are handled by the bot
This commit is contained in:
FliegendeWurst 2021-04-21 20:12:38 +02:00
parent 4a4a283b4f
commit 06c2300949

View File

@ -16,7 +16,6 @@ const {req, res} = api;
const time = new Date(req.body["time"]);
api.log(time);
time.addHours(1); // TODO: consider summer time
const task = req.body["task"];
var hour = time.getHours();