You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When requesting a date field once normally and once through an alias their return types differ. It seems that alias fields do not receive the same post processing that unaliased date fields receive.
To Reproduce
Especially obvious on SQLite, but also present in other vendors.
Create a collection with a date_created datetime field
Request GET /items/<collection>?fields=date,date_created&alias[date]=date_created
Describe the Bug
When requesting a date field once normally and once through an alias their return types differ. It seems that alias fields do not receive the same post processing that unaliased date fields receive.
To Reproduce
Especially obvious on SQLite, but also present in other vendors.
date_created
datetime fieldGET /items/<collection>?fields=date,date_created&alias[date]=date_created
Response (in SQLite)
Directus Version
v10.12.0
Hosting Strategy
Self-Hosted (Docker Image)
Database
No response
The text was updated successfully, but these errors were encountered: