Re: Infinity dates in RoR was How to handle bogus nulls from ActiveRecord
В списке pgsql-general по дате отправления:
| От | Craig Ringer |
|---|---|
| Тема | Re: Infinity dates in RoR was How to handle bogus nulls from ActiveRecord |
| Дата | |
| Msg-id | 4DD3173E.6010004@postnewspapers.com.au обсуждение |
| Ответ на | Infinity dates in RoR was How to handle bogus nulls from ActiveRecord ("James B. Byrne" <byrnejb@harte-lyne.ca>) |
| Список | pgsql-general |
On 18/05/2011 4:02 AM, James B. Byrne wrote: > > On Fri, May 13, 2011 13:04, James B. Byrne wrote: >> >> I have opened an issue for this with the ActiveRecord folks. >> >> https://github.com/rails/rails/issues/544 >> > > This has been addressed by the AR team and is committed to master. > +-Infinity support for dates is slated for general release with > RoR-3.0.8. ... now if only Java would support infinite dates, too. Alas, unlike RoR, I doubt there'll be a quick "we've fixed this, grab the next point release" post for Java. Not even the 3rd party JodaTime date/time library supports infinite intervals, the +infinity date, etc, so I have to represent unbounded intervals with some distant future date, or use null. Neither option is very palatable. -- Craig Ringer Tech-related writing at http://soapyfrogs.blogspot.com/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера