Changes between Initial Version and Version 1 of Ticket #27802


Ignore:
Timestamp:
Feb 3, 2017, 10:26:30 AM (8 years ago)
Author:
Tim Graham
Comment:

PR

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27802

    • Property Has patch set
    • Property Triage Stage UnreviewedAccepted
    • Property Summary Unified `datetime_*_sql` functions with others backend date/time operations.Unify datetime_*_sql() methods with others backend date/time operations.
  • Ticket #27802 – Description

    initial v1  
    1 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.
    2 
     1This 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.
Back to Top