mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
fix getip()
This commit is contained in:
@@ -98,8 +98,8 @@ class Test extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$str = "2023-11-14 02:59:00";
|
||||
$diff = Carbon::parse($str)->diffInDays(now());
|
||||
$str = "abc";
|
||||
$diff = strstr($str, ",", true);
|
||||
dd($diff);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user