summaryrefslogtreecommitdiff
path: root/django/db/models/functions/datetime.py
Commit message (Expand)AuthorAgeFilesLines
* Fixed #34558 -- Fixed QuerySet.bulk_create() crash with Now() on Oracle.Mariusz Felisiak2023-05-111-0/+5
* Refs #32365 -- Removed is_dst argument for various methods and functions.Mariusz Felisiak2023-01-171-12/+2
* Refs #34070 -- Fixed date format in Now() on SQLite.Mariusz Felisiak2022-10-241-1/+1
* Fixed #34070 -- Added subsecond support to Now() on SQLite and MySQL.Lily Foote2022-10-031-0/+13
* Refs CVE-2022-34265 -- Properly escaped Extract() and Trunc() parameters.Simon Charette2022-07-061-19/+27
* Fixed CVE-2022-34265 -- Protected Trunc(kind)/Extract(lookup_name) against SQ...Mariusz Felisiak2022-07-041-0/+4
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-62/+138
* Fixed #32365 -- Made zoneinfo the default timezone implementation.Carlton Gibson2021-09-161-2/+6
* Refs #32508 -- Raised Type/ValueError instead of using "assert" in django.db....Daniyal2021-07-151-3/+4
* Fixed #32750 -- Fixed crash of Extract() transform on OuterRef() expressions.Artur Beltsov2021-05-171-1/+3
* Removed trailing whitespaces in error messages.Mariusz Felisiak2021-03-241-3/+3
* Fixed #31640 -- Made Trunc() truncate datetimes to Date/TimeField in a specif...David-Wobrock2020-10-141-3/+7
* Refs #31640 -- Made Extract raise ValueError when using tzinfo with Date/Time...David-Wobrock2020-10-141-0/+2
* Fixed #31948 -- Added tzinfo parameter to TruncDate() and TruncTime().Joe Jackson2020-09-021-2/+2
* Fixed #30821 -- Added ExtractIsoWeekYear database function and iso_week_day l...Anatol Ulrich2019-10-021-1/+7
* Fixed #30602 -- Made Extract raise ValueError when using unsupported lookups ...Hasan Ramezani2019-07-121-0/+8
* Fixed #29754 -- Added is_dst parameter to Trunc database functions.ahbk2019-03-071-4/+8
* Corrected comment in TruncTime database function.Nick Pope2019-01-141-1/+1
* Simplified some imports for database functions.Nick Pope2019-01-081-5/+5
* Fixed #29500 -- Fixed SQLite function crashes on null values.Srinivas Reddy Thatiparthy2018-09-101-7/+11
* Fixed #29048 -- Added **extra_context to database function as_vendor() methods.priyanshsaxena2018-08-231-2/+2
* Fixed #28649 -- Added ExtractIsoYear database function and iso_year lookup.Sigurd Ljødal2018-08-181-0/+12
* Fixed #29648 -- Fixed crash when using subqueries inside datetime truncation ...Raphael Michel2018-08-071-2/+0
* Fixed #28650 -- Added TruncWeek database function.Sigurd Ljødal2018-01-271-1/+7
* Refs #28643 -- Reorganized database functions.Mariusz Felisiak2017-10-131-2/+13
* Fixed #28492 -- Defined default output_field of expressions at the class level.Simon Charette2017-09-111-16/+9
* Removed unneeded TruncBase.arity.Sergey Fedoseev2017-07-311-1/+0
* Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and Expre...Tim Graham2017-07-201-1/+1
* Fixed #28394 -- Allowed setting BaseExpression.output_field (renamed from _ou...Sergey Fedoseev2017-07-141-6/+4
* Fixed #27473 -- Added DurationField support to Extract.Daniel Hahler2017-06-281-3/+11
* Fixed #28103 -- Added quarter extract, truncation, and lookup.Mads Jensen2017-06-081-1/+10
* Fixed #27802 -- Unified return value of db backend datetime SQL methods.Mariusz Felisiak2017-02-061-10/+5
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-251-5/+5
* Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette2017-01-191-1/+1
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
* Fixed #25240 -- Added ExtractWeek and exposed it through the __week lookup.Mads Jensen2016-11-111-0/+9
* Removed redundant DateTimeField.register_lookup()s.Tim Graham2016-11-101-4/+0
* Fixed #27327 -- Simplified time zone handling by requiring pytz.Tim Graham2016-10-271-1/+1
* Fixed #26348 -- Added TruncTime and exposed it through the __time lookup.Simon Charette2016-07-081-0/+18
* Refs #25774, #26348 -- Allowed Trunc functions to operate with time fields.Simon Charette2016-07-081-23/+26
* Fixed some newlines in imports per isort.Tim Graham2016-05-191-0/+1
* Fixed #25774 -- Refactor datetime expressions into public APIJosh Smeaton2016-05-181-0/+250