mirror of
https://github.com/FliegendeWurst/telegram_notes_bot.git
synced 2024-11-25 04:04:56 +00:00
Do not modify time object in new_reminder
timezones etc. are handled by the bot
This commit is contained in:
parent
4a4a283b4f
commit
06c2300949
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user