Skip to content

[6.x] normalize imagetransformindex dateIndexed for mysql datetime#18899

Merged
riasvdv merged 3 commits into
craftcms:6.xfrom
patarok:fix/dateindexed-datetime
May 17, 2026
Merged

[6.x] normalize imagetransformindex dateIndexed for mysql datetime#18899
riasvdv merged 3 commits into
craftcms:6.xfrom
patarok:fix/dateindexed-datetime

Conversation

@patarok
Copy link
Copy Markdown

@patarok patarok commented May 17, 2026

Description

Fixes #18898

Related issues

@patarok
Copy link
Copy Markdown
Author

patarok commented May 17, 2026

had this on alpha.2 and applied a hotfix to run this beast of a CMS 😁💪(really great work) but seemingly twas still there in 'alpha.3' so here is the fix I didnt dare to keep it for myself alone.

@riasvdv riasvdv changed the title fix: normalize imagetransformindex dateIndexed for mysql datetime [6.x] normalize imagetransformindex dateIndexed for mysql datetime May 17, 2026
@riasvdv
Copy link
Copy Markdown
Contributor

riasvdv commented May 17, 2026

@patarok Thanks for this! I cleaned it up a bit by using Query::prepareValuesForDb( which is what was used on 5.x and I seemed to have missed while porting.

@riasvdv riasvdv merged commit 4d8c9a2 into craftcms:6.x May 17, 2026
@patarok
Copy link
Copy Markdown
Author

patarok commented May 18, 2026

You're so welcome.... gotta love CRAFTCMS. 🥇

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