Re: Ethiopian calendar year(DATE TYPE) are different from theGregorian calendar year

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Ethiopian calendar year(DATE TYPE) are different from theGregorian calendar year
Дата
Msg-id CAFj8pRB+6bfNdWybmx1t6aq-EjEv9q1As=3YHGYRL=ZddWQeXw@mail.gmail.com
обсуждение исходный текст
Ответ на Ethiopian calendar year(DATE TYPE) are different from the Gregoriancalendar year  (Lelisa Diriba <lelisa0404@gmail.com>)
Список pgsql-hackers
Hi

2017-12-26 8:23 GMT+01:00 Lelisa Diriba <lelisa0404@gmail.com>:
In Ethiopia the year have 13 months and but in Gregorian calendar the year have 12 months,
The Ethiopian society's are want to use his Ethiopian calendar year,i have the algorithm,
but the way i add to the postgresql source code as EXTENSION? or to the backend(to kernel)? 
13th month have 5 days and in fourth year 13th month have 6 days.that means 1 year have 365.25 days,my algorithm converts  Gregorian calendar year to Ethiopian calendar year.

It can be done via extension - you should to implement own date and timestamp type with own input, output functions

Regards

Pavel

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Getting rid of "tuple concurrently updated" elog()s with concurrent DDLs (at least ALTER TABLE)
Следующее
От: Murtuza Zabuawala
Дата:
Сообщение: [pgAdmin4][Patch]: Fix "Create - Table" dialog UI quirks