I want to track all of my habits with the tasks plugin and view them with the Heatmap plugin. The Heatmap plugin takes in a string in the YYYY-MM-DD format. I need to convert the completion date of a task to a string so I can pass it in. Does anyone know how to do this?
Found the solution:
task.completion.toString().split('T')[0]
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.