summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-03-03 11:56:59 +0100
committerGitHub <noreply@github.com>2017-03-03 11:56:59 +0100
commitdd646fdf58c22d034b083b2a1c0a7acfe250b9b2 (patch)
tree7beebc2a2b35d19beebdac2a0964bc3435e1226a /apps
parent29e9b1f3d5318e279533be3e80a2db6e35ecb049 (diff)
parent503a9160ae80daef768c4dfa9a369f596f3e45d4 (diff)
downloadnextcloud-server-dd646fdf58c22d034b083b2a1c0a7acfe250b9b2.tar.gz
nextcloud-server-dd646fdf58c22d034b083b2a1c0a7acfe250b9b2.zip
Merge pull request #3687 from nextcloud/proper-transfer-ownership-date
Use a proper date format for transfer ownership
Diffstat (limited to 'apps')
-rw-r--r--apps/files/lib/Command/TransferOwnership.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/lib/Command/TransferOwnership.php b/apps/files/lib/Command/TransferOwnership.php
index 78487ce4d96..96281b5226c 100644
--- a/apps/files/lib/Command/TransferOwnership.php
+++ b/apps/files/lib/Command/TransferOwnership.php
@@ -114,7 +114,7 @@ class TransferOwnership extends Command {
return 2;
}
- $date = date('c');
+ $date = date('Y-m-d H-i-s');
$this->finalTarget = "$this->destinationUser/files/transferred from $this->sourceUser on $date";
// setup filesystem