#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:"92ce31fd8ced13384e3f5aea80a7d7f437870e74" 92ce31fd]:
{{{
#!CommitTicketReference repository=""
revision="92ce31fd8ced13384e3f5aea80a7d7f437870e74"
[1.10.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:5>
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.61ded6e59c077e7fe11de7bcbe8c9640%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.