Re: BUG #13848: 2016 Week Number Error

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #13848: 2016 Week Number Error
Дата
Msg-id 13212.1452192028@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #13848: 2016 Week Number Error  (maxk@yelp.com)
Список pgsql-bugs
maxk@yelp.com writes:
> SELECT EXTRACT(Week FROM current_date) = 1 instead of 2 Week numbers are all
> off

Not a bug.  See the manual's definition of this field:

: The number of the ISO 8601 week-numbering week of the year. By
: definition, ISO weeks start on Mondays and the first week of a year
: contains January 4 of that year. In other words, the first Thursday of a
: year is in week 1 of that year.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Francisco Olarte
Дата:
Сообщение: Re: BUG #13848: 2016 Week Number Error
Следующее
От: John R Pierce
Дата:
Сообщение: Re: BUG #13853: initdb to UNC path