Created
May 16, 2020 12:50
-
-
Save iaindooley/05dec69039647a00b40fd8695df78d31 to your computer and use it in GitHub Desktop.
Set due on date emailed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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