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>
This commit is contained in:
Morris Jobke 2017-03-02 22:34:50 -06:00
parent f03c2835a5
commit ddfc61146d
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A
1 changed files with 1 additions and 1 deletions

View File

@ -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