Skip to content

Commit

Permalink
[11.x] About command improvement (#51791)
Browse files Browse the repository at this point in the history
* Add Timezone to AboutCommand

* Add Locale to AboutCommand

---------

Co-authored-by: Amir Khalife Soltani <[email protected]>
  • Loading branch information
AmirKhalifehSoltani and Amir Khalife Soltani authored Jun 13, 2024
1 parent 6d13661 commit 741560f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Illuminate/Foundation/Console/AboutCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ protected function gatherApplicationInformation()
'Debug Mode' => static::format(config('app.debug'), console: $formatEnabledStatus),
'URL' => Str::of(config('app.url'))->replace(['http://', 'https://'], ''),
'Maintenance Mode' => static::format($this->laravel->isDownForMaintenance(), console: $formatEnabledStatus),
'Timezone' => config('app.timezone'),
'Locale' => config('app.locale'),
]);

static::addToSection('Cache', fn () => [
Expand Down

0 comments on commit 741560f

Please sign in to comment.