In general I'm highly skeptical of APIs that accept dates or datetimes
indifferently; they don't work well in a timezone-aware world.
--
Ticket URL: <https://code.djangoproject.com/ticket/20409>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => assigned
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/20409#comment:1>
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/20409#comment:2>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"e192739b3e3209a371a5d0f5f05fd083e88259f2"]:
{{{
#!CommitTicketReference repository=""
revision="e192739b3e3209a371a5d0f5f05fd083e88259f2"
Fixed #20409 -- Clarified how unique_for_date works when USE_TZ is set.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/20409#comment:3>
Comment (by Aymeric Augustin <aymeric.augustin@…>):
In [changeset:"01edcf70f2911b1953b7789bda18d2498fc73bd0"]:
{{{
#!CommitTicketReference repository=""
revision="01edcf70f2911b1953b7789bda18d2498fc73bd0"
Fixed #20409 -- Clarified how unique_for_date works when USE_TZ is set.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/20409#comment:4>