loses seconds value in getting clock in/out time. Hence time calculations can never be accurate. How can we get this fixed?
I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:
Additional Documentation
Inventory API: How It Works
Troubleshoot the Labor API
Build with the Labor API
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.
The Square Labor API currently returns timestamps in ISO 8601 format, which includes date and time up to minutes, but does not include seconds. This is by design and currently there’s no way to get seconds precision for clock in/out times using the Labor API. If you need more precise time tracking, you may need to implement a custom solution within your application.
This answer was reviewed by @Bryan-Square.