Closed waits closed 8 years ago
Interesting. The API docs do say this field is optional (https://www.dropbox.com/developers/documentation/http/documentation#files-upload), so the behavior does seem surprising. Ideally, Dropbox apps will show the server side timestamp by default, unless clients override. The PR looks good but I'll follow up with folks internally to figure out the desired behavior.
When uploading a file with the
put
command theclient_modified
timestamp isn't being set. This is causing the SDK to send a default value of "0001-01-01T00:00:00Z", which Dropbox interprets as January 1, 2001 (before accounting for time zones). This incorrect value is displayed in the various Dropbox GUI apps.This is easily confirmed with the -v flag (note "client_modified" on both lines):
Screenshot of how https://www.dropbox.com interprets this (in PST):
API docs mentioning client_modified parameter.