Time off start period

Hello,

I would like to ask about start period of returned time off. Sometimes we get weird start period (date) for 1 day of time off. Usually we get this when user requested 1 day of time off:
“period”: {
“start”: “2023-03-08T23:00:00Z”,
“end”: “2023-03-09T22:59:59.999Z”
}

But sometimes we are getting this result also for 1 day of time off requested:
“period”: {
“start”: “2023-02-27T22:59:59.999Z”,
“end”: “2023-02-27T22:59:59.999Z”
}

In Clockify it’s marked as 1 day of time off, but API returns the same time for “start” and “end”.

What’s the reason for this? Is there something wrong? Is my interpretation of result wrong?

Thank you and BR

Hello Andrea,

Welcome to the Clockify forum!

Could you kindly provide me with the endpoint that you’ve used as well as the information regarding the body of the request so we can troubleshoot it further? You can also reach out to us at support@clockify.me if that would be easier for you.

Cheers!