﻿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	Unify datetime_*_sql() methods with others backend date/time operations.	Mariusz Felisiak	Mariusz Felisiak	This is a follow up of the discussion in [ticket:24194#comment:6]. `datetime_extract_sql`, `datetime_cast_date_sql`, `datetime_cast_time_sql`, `datetime_trunc_sql` methods 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				Accepted	1	0	0	0	0	0
