mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 19:37:23 +08:00
fix format_datetime when null use current
This commit is contained in:
@@ -78,12 +78,8 @@ class Test extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$arr = [
|
||||
'uid' => 1,
|
||||
'torrent_id' => 1,
|
||||
'action_type' => 'ban',
|
||||
];
|
||||
TorrentOperationLog::query()->create($arr);
|
||||
$r = Carbon::parse(null);
|
||||
dd($r);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user