Automating my daily updating of Defer Dates and Times (error running the script)

Continuing the discussion from Automating my daily updating of Defer Dates and Times:

@MattJ Hi, I saw your script in the thread above and it looks amazing!
My only problem is when I try to run it, the script silently fails and when I open the console I get the error message, “Error Cannot convert Date to milliseconds”.

Do you know what that might be referring to?

Here’s the task I was testing it on:

Hey Vishae! Thanks for pointing this bug out. I’ve fixed it in my code and uploaded it to GitHub here so I can better maintain it.

Let me know if it works for you!

I just updated the link https://github.com/mdjhnson/OmiFocus-Automation/tree/main/Auto%20Defer%20Tasks

Thanks for the link!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.