[Django] #30733: Make datetime timezone conversion notices more consistent

4 visualizações
Pular para a primeira mensagem não lida

Django

não lida,
27 de ago. de 2019, 17:57:0127/08/2019
para django-...@googlegroups.com
#30733: Make datetime timezone conversion notices more consistent
------------------------------------------------+------------------------
Reporter: Andrew Williams | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 2.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
In the QuerySet documentation, many of the APIs that work on datetime
fields have a variation of the same notice indicating that when the USE_TZ
setting is set to True, the database is used to do timezone conversions.
It'd be worth replacing these with the most helpful of the variations.

--
Ticket URL: <https://code.djangoproject.com/ticket/30733>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

não lida,
27 de ago. de 2019, 17:59:1827/08/2019
para django-...@googlegroups.com
#30733: Make datetime timezone conversion notices more consistent
-------------------------------------+-------------------------------------
Reporter: Andrew Williams | Owner: Andrew
Type: | Williams
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 2.2
Severity: Normal | Resolution:

Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Andrew Williams):

* owner: nobody => Andrew Williams
* status: new => assigned


Old description:

> In the QuerySet documentation, many of the APIs that work on datetime
> fields have a variation of the same notice indicating that when the
> USE_TZ setting is set to True, the database is used to do timezone
> conversions. It'd be worth replacing these with the most helpful of the
> variations.

New description:

In the QuerySet documentation, many of the APIs that work on datetime
fields have a variation of the same notice indicating that when the USE_TZ
setting is set to True, the database is used to do timezone conversions.
It'd be worth replacing these with the most helpful of the variations.

Pull Request: https://github.com/django/django/pull/11718

--

--
Ticket URL: <https://code.djangoproject.com/ticket/30733#comment:1>

Django

não lida,
28 de ago. de 2019, 02:12:4628/08/2019
para django-...@googlegroups.com
#30733: Document that datetime lookups require time zone definitions in the
database.

-------------------------------------+-------------------------------------
Reporter: Andrew Williams | Owner: Andrew
Type: | Williams
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):

* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/30733#comment:2>

Django

não lida,
28 de ago. de 2019, 03:05:5428/08/2019
para django-...@googlegroups.com
#30733: Document that datetime lookups require time zone definitions in the
database.
-------------------------------------+-------------------------------------
Reporter: Andrew Williams | Owner: Andrew
Type: | Williams
Cleanup/optimization | Status: closed
Component: Documentation | Version: 2.2
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
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"29adcd215f80383f00d9f837311e857142319722" 29adcd2]:
{{{
#!CommitTicketReference repository=""
revision="29adcd215f80383f00d9f837311e857142319722"
Fixed #30733 -- Doc'd that datetime lookups require time zone definitions
in the database.

Note was missing for date, year, iso_year, week, time, hour, minute,
and second lookups.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/30733#comment:3>

Django

não lida,
28 de ago. de 2019, 03:08:2628/08/2019
para django-...@googlegroups.com
#30733: Document that datetime lookups require time zone definitions in the
database.
-------------------------------------+-------------------------------------
Reporter: Andrew Williams | Owner: Andrew
Type: | Williams
Cleanup/optimization | Status: closed
Component: Documentation | Version: 2.2

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 Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"16e5e8ff5a8c8eb5bfd5de999b22803819c6881e" 16e5e8ff]:
{{{
#!CommitTicketReference repository=""
revision="16e5e8ff5a8c8eb5bfd5de999b22803819c6881e"
[2.2.x] Fixed #30733 -- Doc'd that datetime lookups require time zone
definitions in the database.

Note was missing for date, year, iso_year, week, time, hour, minute,
and second lookups.

Backport of 29adcd215f80383f00d9f837311e857142319722 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/30733#comment:4>

Responder a todos
Responder ao autor
Encaminhar
0 nova mensagem