Use correct time, not an empty time
This commit is contained in:
parent
875358a106
commit
44ff99e83d
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class InitiateBackupService
|
|||
$backup = $this->repository->create([
|
||||
'server_id' => $server->id,
|
||||
'uuid' => Uuid::uuid4()->toString(),
|
||||
'name' => trim($name) ?: sprintf('Backup at %s', CarbonImmutable::create()->toDateTimeString()),
|
||||
'name' => trim($name) ?: sprintf('Backup at %s', CarbonImmutable::now()->toDateTimeString()),
|
||||
'ignored_files' => $this->ignoredFiles ?? '',
|
||||
'disk' => 'local',
|
||||
], true, true);
|
||||
|
|
Loading…
Reference in a new issue