Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iaindooley/e3d203331f6da22588798b12911a0d3e to your computer and use it in GitHub Desktop.
Save iaindooley/e3d203331f6da22588798b12911a0d3e to your computer and use it in GitHub Desktop.
Move due date
function moveDueDate(notification)
{
var comp = new Notification(notification).completedDueDate();
comp.markDueDateIncomplete().setDue(comp.due().addDays(7));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment