| От | Greg Stark |
|---|---|
| Тема | Re: Imprecision of DAYS_PER_MONTH |
| Дата | |
| Msg-id | 87ek9sc4uj.fsf@stark.xeocode.com обсуждение исходный текст |
| Ответ на | Re: Imprecision of DAYS_PER_MONTH (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: Imprecision of DAYS_PER_MONTH
|
| Список | pgsql-hackers |
Bruce Momjian <pgman@candle.pha.pa.us> writes: > > > BTW, if you actually wanted to improve readability, defining a > > > SECS_PER_YEAR value and replacing the various occurrences of > > > "36525 * 864" with it would help. > > > > > IIRC the number of seconds in a year is far from a constant. > > Yes, I added a comment mentioning that we don't track leap seconds. > And this doesn't handle crossing uneven daylight savings time intervals. It doesn't even represent leap years, never mind leap seconds. -- greg
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера