Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Want to understand formula given for automation

My Country Escape
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 12, 2024

I have just set up an automation through trello, that in my list done today it will transfer to previous date and all automatically does this.  What i really want to do is to understand the formula given {date-1wd~dddd, MMMM Do YYYY} and how this works, i noticed that weekend does not appear .  I'm finding it absolutely fabulous and a great tool but just more clarification on this would be wonderful.  Thank you

1 answer

1 vote
Daydreamer Mike
Community Champion
February 13, 2024

Hi @My Country Escape 

The help files break this down brilliantly but I will try:

 

{date} this is just pulling the date right now...

{date-1wd} this is 1 day before the current working day

Moment.js formatting

~dddd = the day of the week (Monday, Tuesday etc...)

Do = the day of the month (1st, 2nd, 3rd etc...)

YYYY= the year (2024)

 

Please refer to these guides:

https://support.atlassian.com/trello/docs/arithmetic-and-formatting-in-date-variables/ 

https://momentjs.com/docs/#/displaying/format/ 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events