I’m trying to find the optimal method of converting bubble data… in this case seconds to minutes and seconds in a RG.
as it stands im using moment.js and then calling this
1820 is dynamic btw
var seconds = 1820;
var duration = moment.duration(seconds, ‘seconds’);
var formatted = duration.format(“hh:mm:ss”);
console.log(formatted);
using toolbox to get this back into bubble
anyone suggest a better way?