MMM-MicrosoftToDo icon indicating copy to clipboard operation
MMM-MicrosoftToDo copied to clipboard

Due Date always shows the same time

Open mlcampbe opened this issue 6 months ago • 1 comments

I've got the module connecting to my list and pulling the data to display. However, the due date of the items does not seem to be working. If I add 2 entries to the list I do not see a way to add a time of day that they are due. I can add the date (July 25, for example) but not a due time. Therefore looking at the raw data retrieved I see something like this:

body":{"content":"","contentType":"text"},"dueDateTime":{"dateTime":"2024-07-25T05:00:00.0000000","timeZone":"UTC"},"reminderDateTime":{"dateTime":"2024-07-25T18:00:33.7170000","timeZone":"UTC"}}

Note that all entries have the same "T05:00:00" time for them. However, I do see that there is a reminderDateTime that is something this is set.

I tried to modify the MMM-MicrosoftToDo.js and change the line "taskDue = Object.values(element.dueDateTime)" and to use "element.reminderDateTime" instead but that does not work at all. When doing this there are no tasks displayed for me at all.

Any thoughts on how to get a valid reminder time to display?

mlcampbe avatar Jul 25 '24 14:07 mlcampbe