#27856: Date subtraction loses accuracy on PostgreSQL for differences larger
than
month
-------------------------------------+-------------------------------------
Reporter: Vytis Banaitis | Owner: Vytis
| Banaitis
Type: Bug | Status: closed
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Tim Graham <timograham@…>):
In [changeset:"d03153e3b09c078a0622e45ecff37e43f3ab8972" d03153e3]:
{{{
#!CommitTicketReference repository=""
revision="d03153e3b09c078a0622e45ecff37e43f3ab8972"
[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 4045fd56cb0f83d0f78de9aca073c7104e4cf8fd from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27856#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.9bcbf0be0e21d72cae55485525cb11e5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.