I’m unable to figure out what timezone Trello uses when sending data within their REST API. I don’t believe it is UTC (???).
Update:
According to this post: What timezone are dates in API data? - #2 by FredericMalenfant due dates are usually sent in the timezone of the card creator.
If so, I’m not sure how to figure out the certain user’s timezone, I’ve checked out what a member object is: https://developer.atlassian.com/cloud/trello/rest/api-group-members/#api-members-id-get
But I’m can’t find a time related property.
It looks like we give you a timezoneInfo
from /1/members/me?fields=prefs
:
{
"id": "5589c3ea49b40cedc28cf70e",
"prefs": {
"timezoneInfo": {
"offsetCurrent": 300,
"timezoneCurrent": "CDT",
"offsetNext": 360,
"dateNext": "2022-11-06T07:00:00.000Z",
"timezoneNext": "CST"
}
}
}