Remove checks against EBOOK_EARLIEST_CREATION_DATE

This commit is contained in:
Mike Colagrosso 2024-10-22 17:16:28 -06:00 committed by Alex Cabal
parent 432723eafe
commit 6bec232d37
6 changed files with 6 additions and 7 deletions

View file

@ -10,6 +10,6 @@ class InvalidGitCommitCreatedDatetimeException extends AppException{
public function __construct(DateTimeImmutable $createdDatetime){
/** @throws void */
$now = new DateTimeImmutable();
$this->message = 'Invalid GitCommit Created datetime. ' . $createdDatetime->format('Y-m-d') . ' is not between ' . EBOOK_EARLIEST_CREATION_DATE->format('Y-m-d') . ' and ' . $now->format('Y-m-d') . '.';
$this->message = 'Invalid GitCommit Created datetime. ' . $createdDatetime->format('Y-m-d') . ' is after ' . $now->format('Y-m-d') . '.';
}
}