Skip to content

fix(doctrine): support UTC datetime types in ORM filters - #8746

Merged
soyuka merged 1 commit into
api-platform:5.0from
Toflar:fix/doctrine-utc-datetime-types
Oct 22, 2026
Merged

soyuka merged 1 commit into
api-platform:5.0from
Toflar:fix/doctrine-utc-datetime-types

Conversation

@Toflar

@Toflar Toflar commented Oct 21, 2026

Copy link
Copy Markdown
Contributor
Q A
Branch? 5.0
Tickets
License MIT
Doc PR

Add support for datetime_utc and datetime_utc_immutable, introduced in Doctrine DBAL 4.5 by doctrine/dbal#7488.

I'm using literal type names because the supported Doctrine DBAL versions before 4.5 do not define the corresponding constants 😊

@Toflar
Toflar force-pushed the fix/doctrine-utc-datetime-types branch from f3b7d86 to 4da11f4 Compare October 21, 2026 12:11
@soyuka
soyuka merged commit 7e1cb30 into api-platform:5.0 Oct 22, 2026
117 checks passed
@soyuka

soyuka commented Oct 22, 2026

Copy link
Copy Markdown
Member

thanks!

@Toflar
Toflar deleted the fix/doctrine-utc-datetime-types branch October 22, 2026 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants