webdigi / GmailScheduler

Google app script system to allow gmail / google business apps users to schedule outgoing messages & to set messages to return to inbox
Other
102 stars 36 forks source link

Exact times don't match "x hours later" #37

Closed dandv closed 7 years ago

dandv commented 7 years ago

I'm trying to send an email at a precise time, say 8:30am. If it's 3:30am now and I enter "5 hours later", I get 8:30am. But if I enter "8:30am", I get some other time (right now, it's 16 hours off). I've set the timezone correctly (Pacific).

Screencast: exact times are four hours ahead

dandv commented 7 years ago

Or this:

image

webdigi commented 7 years ago

Thanks for the gif.

To send an email at a precise time of say "8:30am" (including the same day) then you will have to set two labels. One label for "8:30am" and one label for "8:30am tomorrow".

I hope that makes sense. Please note that the issue you mentioned is only likely to be there in the front end while creating the labels. The backend label processing uses the timezone to send out the email correctly.

Please test and reopen if you still have a problem.