You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
aplowman
6 years agoExplorer | Level 4
Python API client_modified resolution
When I set the `client_modified` of the `files_upload` method in the Python API and then use `files_get_metadata` to inspect the `client_modified` attribute, I notice that the datetime.datetime objec...
- 6 years ago
Yes, the Dropbox API itself uses UTC datetime strings in the ISO 8601 "combined date and time representation" format, so it has a resolution of seconds, not smaller.
The Python SDK does the formatting locally to conform with the Dropbox API spec before sending it to Dropbox. The format string is '%Y-%m-%dT%H:%M:%SZ', and any microseconds are just culled, not rounded.
I'll pass this along as a feature request for a finer time resolution, though I can't promise if or when that might be implemented.
Greg-DB
6 years agoDropbox Staff
Yes, the Dropbox API itself uses UTC datetime strings in the ISO 8601 "combined date and time representation" format, so it has a resolution of seconds, not smaller.
The Python SDK does the formatting locally to conform with the Dropbox API spec before sending it to Dropbox. The format string is '%Y-%m-%dT%H:%M:%SZ', and any microseconds are just culled, not rounded.
I'll pass this along as a feature request for a finer time resolution, though I can't promise if or when that might be implemented.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 21 hours agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!