From: Francois G. <fra...@cl...> - 2003-12-18 17:29:20
|
Hi all, I'm using interval data type in postgres. pypgsql returns a DateTimeDelta instance when retrieving such values. Is there any plan to use RelativeDateTime, cause interval <-> DateTimeDelta is destructive on client side. With DateTimeDelta, years can't be specified and all years haven't 365 days. Even saying a year is 365.2425 days, working with months is worse :( Any turn-around ?=20 Or, if I want to do it myself, is interval2DateTimeDelta the only place to look at for returning RelativeDateTime instead of DateTimeDelta ? Thanks for any help. Fran=E7ois=20 |