﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27802	Unified `datetime_*_sql` functions with others backend date/time operations.	Mariusz Felisiak	Mariusz Felisiak	"This is a follow up of the discussion in #24194 (see [https://code.djangoproject.com/ticket/24194#comment:6 comment]). `datetime_extract_sql`, `datetime_cast_date_sql`, `datetime_cast_time_sql`, `datetime_trunc_sql` functions behave differently than others date/time operations. They return `sql` and `params` whereas the others return just `sql`. I propose to unify their behavior.

"	Cleanup/optimization	assigned	Database layer (models, ORM)	dev	Normal				Unreviewed	0	0	0	0	0	0
