mirror of
https://github.com/django/django.git
synced 2025-08-15 08:10:29 +00:00
[1.11.x] Fixed #27856 -- Improved accuracy of date subtraction on PostgreSQL.
Accuracy was incorrect when dates differ by a month or more.
Backport of 4045fd56cb
from master
This commit is contained in:
parent
d53fc7614d
commit
d03153e3b0
3 changed files with 23 additions and 4 deletions
|
@ -17,3 +17,6 @@ Bugfixes
|
|||
|
||||
* Fixed a crash on Oracle and PostgreSQL when subtracting ``DurationField``
|
||||
or ``IntegerField`` from ``DateField`` (:ticket:`27828`).
|
||||
|
||||
* Fixed query expression date subtraction accuracy on PostgreSQL for
|
||||
differences large an a month (:ticket:`27856`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue