Skip to content

Commit

Permalink
-nový BaseLogger.php v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Filípek committed May 19, 2021
1 parent 4c7c31a commit 1462c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/BaseLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public function store() {
$this->createDir();

if ($this->exists() && $this->new) {
$this->fileName = MyString::seoTypeConversion($this->fileName . '_' . date('Ymd_His_u'));
$this->fileName = MyString::seoTypeConversion($this->fileName . '_' . (new \DateTime('now'))->format('(s_u)'));
}

$storeRes = FALSE;
Expand Down

0 comments on commit 1462c8e

Please sign in to comment.