Help converting iso8601 date with javascripttobubble in toolbox plugin

I’m not proficient in Javascript. There is a plugin that does what i’m looking to do, but out of determination to increase my skills and not being interested in paying for something that seems to be achievable, i’m seeking help. I’m trying to convert an iso 8601 date to a “July 16, 2019” type of format. I’m using the toolbox plugin and help from this link JavaScript: How to Extract the Date from ISO 8601 Complete Date and Time Format (Plus Make It Readable).

I’m just struggling putting all this in the run javascript workflow.

Please guide me. Thank you so much for your time.


I have tried making the text element call javascripttobubble value as list- didn’t work either.

so I got it to work. Here’s my code, hope it helps someone.

var input = “Get event_start_time from page URL”; //string.

input = input.split("T")[0].split("-"); //array.

var monthNames, day, month, year;

monthNames = “January,February,March,April,May,June,July,August,September,October,November,December”; //string

monthNames = monthNames.split(“,”); //to array

day = input[2]; //the last array element (index: 2) is the day

month = input[1]; //the middle is the month

year = input[0]; //the year is the first element

input = monthNames[Number(month) - 1] + " " + day + ", " + year;

bubble_fn_convert3(input);z