mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-05-18 13:46:40 +02:00
Optional timezone configuration
- Reads an optional timezone param from general.yml to log with the correct datetime Signed-off-by: Dani Sancas <lord.sancas@gmail.com>
This commit is contained in:
parent
132539da91
commit
92b9edcba9
|
@ -100,6 +100,9 @@ class Console
|
|||
|
||||
// Command Option
|
||||
$commandName = $config->getArgument(0);
|
||||
|
||||
// Timezone for logging
|
||||
@date_default_timezone_set($config->general('timezone', 'UTC'));
|
||||
|
||||
// Logging
|
||||
$showGreetings = true;
|
||||
|
|
Loading…
Reference in a new issue