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:
parent
53195b156c
commit
503a9160ae
|
@ -114,7 +114,7 @@ class TransferOwnership extends Command {
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
$date = date('c');
|
$date = date('Y-m-d H-i-s');
|
||||||
$this->finalTarget = "$this->destinationUser/files/transferred from $this->sourceUser on $date";
|
$this->finalTarget = "$this->destinationUser/files/transferred from $this->sourceUser on $date";
|
||||||
|
|
||||||
// setup filesystem
|
// setup filesystem
|
||||||
|
|
Loading…
Reference in New Issue