Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Last active March 20, 2020 02:22
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/94ba6a3b8e2df240fee196f28dd383c2 to your computer and use it in GitHub Desktop.
Save iaindooley/94ba6a3b8e2df240fee196f28dd383c2 to your computer and use it in GitHub Desktop.
advanceDueDateOneDay
function advanceDueDateOneDay(params,signature,orignal_time)
{
new Board(params).list("List Name").cards().each(function(card)
{
var due = new Date(card.due());
if(due < Trellinator().now())
card.setDue(due.addDays(1).at("9:00"));
});
ExecutionQueue.push(params,signature,original_time.addDays(1));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment