mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +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:
committed by
Tim Graham
parent
d53fc7614d
commit
d03153e3b0
@@ -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`).
|
||||
|
||||
Reference in New Issue
Block a user