Обсуждение: pgsql: Docs: improve descriptions of ISO week-numbering date features.

Поиск
Список
Период
Сортировка

pgsql: Docs: improve descriptions of ISO week-numbering date features.

От
Tom Lane
Дата:
Docs: improve descriptions of ISO week-numbering date features.

Use the phraseology "ISO 8601 week-numbering year" in place of just
"ISO year", and make related adjustments to other terminology.

The point of this change is that it seems some people see "ISO year"
and think "standard year", whereupon they're surprised when constructs
like to_char(..., "IYYY-MM-DD") produce nonsensical results.  Perhaps
hanging a few more adjectives on it will discourage them from jumping
to false conclusions.  I put in an explicit warning against that
specific usage, too, though the main point is to discourage people
who haven't read this far down the page.

In passing fix some nearby markup and terminology inconsistencies.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/453151a0615f4782618c412fe89a7898b2c6277a

Modified Files
--------------
doc/src/sgml/func.sgml |   87 +++++++++++++++++++++++++++++-------------------
1 file changed, 52 insertions(+), 35 deletions(-)