To Do: completedDateTime and timezone

Timo 51 Reputation points
2021-09-27T07:15:05.72+00:00

Goal: retrieve list of completed To Dos of a users for a given day.

The description of completedDateTime states that it refers to the timezone specified (link to doc). However it appears that the returned date value is always UTC midnight

Repo: I created and completed a test todo with the official Microsoft To Do app today on September 27th with my device set to "Denver - Standard Mountain Time" (local time 1 AM). When I list the todos via the API and specify the header "Prefer: outlook.timezone='America/Denver'", it returns:

  "completedDateTime": {  
    "dateTime": "2021-09-26T18:00:00",  
    "timeZone": "Mountain Standard Time"  
  }  

This is not correct. I completed the todo on September 27th - not September 26th.
What am I doing wrong?

This bug/question has been asked previously on GitHub but was closed: https://github.com/microsoftgraph/microsoft-graph-docs/issues/8192
It also was confirmed to be a bug there.

Microsoft Security | Microsoft Graph

3 answers

Sort by: Most helpful
  1. Timo 51 Reputation points
    2023-01-21T11:00:08.79+00:00

    Almost 3 years after I first reported this bug and it's still unfixed.

    Are there any plans to fix this in the future? @Shweta Choudhary

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments

  2. Constantin Kwiatkowski 45 Reputation points
    2023-02-16T04:57:33.53+00:00

    Same issue with start date time and due date time, is there any workaround?

    Was this answer helpful?

    0 comments No comments

  3. Shweta Choudhary 606 Reputation points Microsoft Employee
    2021-09-28T10:09:20.177+00:00

    Thank you for reaching out.

    This is a known issue
    Unfortunately, I do not have any ETA as of now on this.

    Hope this helps.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.