Hi guys,
please, how do you handle zimezones? When I post time, for example in resource_logs with current time like this:
{
“resource”:xx,
“member”: xx,
“createdAt”: “2022-01-17T11:34:00Z”,
“stoppedAt”: “2022-01-17T11:34:00Z”,
“idleDurationSeconds”: 0,
“notes”: “”,
“metadata”: {}
}
the response is one hour shifted from current time
{
“resource”: xx,
“member”: xx,
"createdAt": “2022-01-17T11:34:00.000Z”,
** “stoppedAt”: “2022-01-17T11:34:00.000Z”,**
** “updatedAt”: “2022-01-17T10:42:10.755Z”,**
“idleDurationSeconds”: 0,
“notes”: “test vaco api”,
“metadata”: {},
“account”: 294,
“type”: “allowed”,
“stopType”: “normal”,
“updatedBy”: 14578,
“lockVersion”: 1,
“id”: 1077177
}
how do you handle local time zone?
thanks for reply