View Single Post
Quote:
Originally Posted by skillet View Post
I changed only one thing
Code:
set newStart to oldStart + (days * (daysBetween + snoozeLength + 1))
to
Code:
set newStart to oldStart + (days * (daysBetween + snoozeLength))
Since it was forwarding 1 extra day from today; I am sure that was intentional though.
One thing I just discovered is that if an item starts at in the morning it with the change it will work correctly (i.e. 1 will be one day later). Anything after 12PM behaves differently. It will keep it the same day if one is entered (which the comment of the reason for the +1 makes more sense now). If you have 12PM and you run the script twice you will see it will toggle between tomorrow and today if you leave the +1 off and it won't advance a day if you don't for actions starting before noon.

I will see if I can figure it out.