Skip to content

Commit 9086873

Browse files
committed
refactor: Console::showHeader() call date() only once
1 parent 89581dc commit 9086873

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

system/CLI/Console.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,9 @@ public function showHeader(bool $suppress = false)
5959
}
6060

6161
CLI::write(sprintf(
62-
'CodeIgniter v%s Command Line Tool - Server Time: %s UTC%s',
62+
'CodeIgniter v%s Command Line Tool - Server Time: %s',
6363
CodeIgniter::CI_VERSION,
64-
date('Y-m-d H:i:s'),
65-
date('P'),
64+
date('Y-m-d H:i:s \\U\\T\\CP'),
6665
), 'green');
6766
CLI::newLine();
6867
}

0 commit comments

Comments
 (0)