#33517: Extracting seconds also returns fractional seconds on PostgreSQL and
Oracle.
-------------------------------------+-------------------------------------
Reporter: Joey Lange | Owner: (none)
Type: Bug | Status: new
Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: oracle postgresql | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):
* owner: Mohamed Nabil Rady => (none)
* status: assigned => new
* has_patch: 1 => 0
Comment:
This is still an issue on Oracle. We could use `EXTRACT(SECOND FROM
CAST({field_name} AS TIMESTAMP(0)))` but it won't work with
`DurationField`.
--
Ticket URL: <https://code.djangoproject.com/ticket/33517#comment:8>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.d48e4f18fda0a9b7ebbebada947b4a60%40djangoproject.com.