Release 2.15 (#4749)

This commit is contained in:
Kevin Papst
2024-04-12 19:03:09 +02:00
committed by GitHub
parent b76a5d5c35
commit 7219b3f421
56 changed files with 441 additions and 575 deletions

View File

@@ -12,6 +12,7 @@ namespace App\Doctrine;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Types\ConversionException;
use Doctrine\DBAL\Types\DateTimeType;
use Doctrine\DBAL\Types\Types;
final class UTCDateTimeType extends DateTimeType
{
@@ -67,7 +68,7 @@ final class UTCDateTimeType extends DateTimeType
if (!$converted) {
throw ConversionException::conversionFailedFormat(
$value,
$this->getName(),
Types::DATETIME_MUTABLE,
$platform->getDateTimeFormatString()
);
}