Re: Allow to_date() and to_timestamp() to accept localized names
От | Peter Eisentraut |
---|---|
Тема | Re: Allow to_date() and to_timestamp() to accept localized names |
Дата | |
Msg-id | aa5d8d96-0eb6-07b9-2caf-0910b313cb56@2ndquadrant.com обсуждение исходный текст |
Ответ на | Re: Allow to_date() and to_timestamp() to accept localized names (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>) |
Ответы |
Re: Allow to_date() and to_timestamp() to accept localized names
|
Список | pgsql-hackers |
On 2020-01-24 19:01, Peter Eisentraut wrote: > postgres=# select to_char(now(),'TMmonth'); > to_char > ------------ > ιανουαρίου > (1 row) > > which is the genitive of ιανουάριος. You use the genitive form for a > date (24th of January) but the nominative otherwise. But the reverse > mapping can only take one of these forms. So here > > select to_date('Ιανουαριος', 'TMMonth'); > > fails, which is bad. For the record, the correct form of that would appear to be select to_date('Ιανουάριος', 'TMMonth'); with the accent. I had tried different variations of that and they all failed. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: