#36633: TaskBackend run_after validation assumes datetime when USE_TZ=True
---------------------------------+------------------------------------
     Reporter:  Chris M          |                    Owner:  (none)
         Type:  Bug              |                   Status:  closed
    Component:  Tasks            |                  Version:  6.0
     Severity:  Release blocker  |               Resolution:  wontfix
     Keywords:                   |             Triage Stage:  Accepted
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+------------------------------------
Changes (by Jake Howard):

 * resolution:   => wontfix
 * status:  new => closed

Comment:

 I believe this is behaving as intended. The `timedelta` functionality was
 removed post-DEP, because when interacting with the previous transaction
 handling, it wasn't obvious if it was "10 seconds after enqueue" or "10
 seconds from `.enqueue` call". We could add a type guard that only a
 `datetime` is passed in, but given an exception is already raised, rather
 than strange behaviour, I suspect it's fine.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36633#comment:3>
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 visit 
https://groups.google.com/d/msgid/django-updates/01070199a95539bd-7e4cb509-887c-4d47-864e-1ce198364b58-000000%40eu-central-1.amazonses.com.

Reply via email to