Skip to content

Commit e9ad8c3

Browse files
author
Florian Stascheck
authored
Update ServeCommand.php (#47931)
1 parent 4e591ce commit e9ad8c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Illuminate/Foundation/Console/ServeCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,8 @@ protected function getDateFromLine($line)
305305
? '/^\[\d+]\s\[([a-zA-Z0-9: ]+)\]/'
306306
: '/^\[([^\]]+)\]/';
307307

308+
$line = str_replace(' ', ' ', $line);
309+
308310
preg_match($regex, $line, $matches);
309311

310312
return Carbon::createFromFormat('D M d H:i:s Y', $matches[1]);

0 commit comments

Comments
 (0)