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/05dec69039647a00b40fd8695df78d31 to your computer and use it in GitHub Desktop.
Save iaindooley/05dec69039647a00b40fd8695df78d31 to your computer and use it in GitHub Desktop.
Set due on date emailed
function setDueOnDateEmailed(notification)
{
var created = new Notification(notification).createdCard();
try
{
var date = Trellinator.parseDate(created.name());
created.setDue(date.date).setName(date.comment));
}
catch(e)
{
created.setDue(Trellinator.now());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment