-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DAV SEARCH: Expose upload_time and creation_time #30366
Conversation
php-cs linter fails due to unrelated file |
@icewind1991 Does Node#getFileInfo()->getCreationTime() return the file system creation time, or some value maintained in nextcloud? In my tests with this PR it always returns |
/rebase |
ba11d93
to
49cda5a
Compare
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
From that I understand the creation_time is set here: server/apps/dav/lib/Connector/Sabre/File.php Line 379 in 8367b02
So a client needs to send the time explicitly when uploading a file. Reading the desktop client source code, I can't find where this is set :( |
maybe @mgallien for where the creation time is sent ? |
my understanding is that desktop client only sets I confirm what @CarlSchwan said |
Hi everyone, what is needed to get this done? :) |
This was based on wrong assumptions |
fixes #21385
This would be very useful for nextcloud/photos#87