diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-03-02 22:34:50 -0600 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-03-02 22:36:18 -0600 |
commit | 503a9160ae80daef768c4dfa9a369f596f3e45d4 (patch) | |
tree | 70daae51f983163c3517def9d4f9dafe04d18d82 /apps | |
parent | 53195b156c68082f1e02e45ba2a266c15ef1bcaa (diff) | |
download | nextcloud-server-503a9160ae80daef768c4dfa9a369f596f3e45d4.tar.gz nextcloud-server-503a9160ae80daef768c4dfa9a369f596f3e45d4.zip |
Use a proper date format for transfer ownership
* on Windows : is not allowed as filename and doesn't get synced then
* uses 2017-03-02 22-00-00 instead of 2017-03-02T22:00:00+00:00 as format
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/lib/Command/TransferOwnership.php | 2 |
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 |