-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
prefer using dir instead of allinfo for getting smb file info #10803
Conversation
} | ||
|
||
// fallback to server timezone | ||
$this->timeZone = date_default_timezone_get(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will just overwrite the stuff above...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed 🙈
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
4de5ded
to
bf7fb2b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐘
As this is in 3rdparty: shouldn't upstream be updated first? |
Triggered CI again: https://drone.nextcloud.com/nextcloud/server/9856 |
Signed-off-by: Robin Appelman <robin@icewind.nl>
some windows server setups don't seem to like the allinfo command use the dir command instead to get the file info where possible.
Also includes some improvements for the timezone detection to properly handle cases where the command errors out.