SerjoPepper/delorean_bot

[Bug] Notification adding on the wrong day

Royal2000H opened this issue · 1 comments

Currently when I add a notification, it adds it for tomorrow instead of today.

I currently have:
Language: en
Time zone: America/New_York

For example: it is 5/17/2016 9:00 PM (21:00)
I add: "Today at 23:00" or "Tonight at 23:00" or just "11 pm" and I get "The notification is added at 18.05.2016 23:00:00"
This is on the wrong day, 1 day too late.

But if I say "in 2 hours" I get "The notification is added at 17.05.2016 23:00:00"

OK, if at my local 17:50, I try to add a notification for 22:00 today, it adds to today.
If at my local 18:30, I try to add a notification for 22:00 today, it adds to tomorrow.

So something is happening likely at 18:00 (New York timezone). This is 01:00 at Moscow timezone and 22:00 at GMT/UTC.

I hope this helps.