@Sandip Atkole ,
As we are mainly responsible for general issue of Microsoft Teams. Your question which is involved in development is not supported by us. I would remove the office-teams-windows-itpro tag. Hope you get better response.
Need to show latest updated Date (MM/DD) or Time (hh:mm) against an individual chat or chat group list
Sandip Atkole
41
Reputation points
Hi, We have a requirement to show the latest updated Date (MM/DD) or (hh:mm) format against the respect chat or chat group same as shown in the Microsoft Teams (please see the "Teams-Chat list Date-Time.PNG" screenshot)
In order to implement this we are using the "lastUpdatedDateTime" json property from the API - https://graph.microsoft.com/beta//me/chats?$expand=members
Yes, we do convert UTC date-time to local date-time. (please see the "Chats-API-Output.PNG" screenshot)
The questions are -
- Is it correct to use the "lastUpdatedDateTime" json property to show the chat/chat group latest updated date/time?
- If No, then is there any other property or any new property in a future release?
- If Yes, then we observed that fore few chats there is a difference in the date-time when compared with the date/time displayed in MS Teams and API (local date-time)
(Please refer to date-time-issue.png) - Please see the underlined area. If you convert "2020-10-30T06:42:52.748Z" then the local IST time is "12:12 PM" which is shown in our application whereas MS Teams show "11:50 AM".
Please could you help me with these questions?
Accepted answer
-
Sharon Zhao-MSFT 25,101 Reputation points Microsoft Vendor
2020-11-02T02:45:04.27+00:00