Hi
Postmodern is returning dates like this (:DATE-OF-TERMINATION .255611203200) all of a sudden instead of simpledate objects or date string.
What did I change to get this behavior or is it a setting in postgresql that has changed?
Regards
Hi Phil,
Simple-date, and the glue that integrates it in Postmodern, is no longer loaded by default. Load the :simple-date-postgres-glue system to get the old behaviour.
I actually recommend people to use local-time rather than simple-date now (it also has cl-postgres glue code in its distribution now), but if you don't care about time zones, and don't want to update your code. simple-date still works.
Best, Marijn
Thank you that did the trick.
On Wed, 2011-01-26 at 13:20 +0100, Marijn Haverbeke wrote:
Hi Phil,
Simple-date, and the glue that integrates it in Postmodern, is no longer loaded by default. Load the :simple-date-postgres-glue system to get the old behaviour.
I actually recommend people to use local-time rather than simple-date now (it also has cl-postgres glue code in its distribution now), but if you don't care about time zones, and don't want to update your code. simple-date still works.
Best, Marijn
postmodern-devel mailing list postmodern-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel
Hi Marijn,
I think my copy of simple-date is jealously defending its position in my code base. No matter what I do (short of completely erasing simple-date off the system), a postmodern query to a timestamp returns a simple-date object.
Sabra
On Wed, Jan 26, 2011 at 4:20 AM, Marijn Haverbeke marijnh@gmail.com wrote:
Hi Phil,
Simple-date, and the glue that integrates it in Postmodern, is no longer loaded by default. Load the :simple-date-postgres-glue system to get the old behaviour.
I actually recommend people to use local-time rather than simple-date now (it also has cl-postgres glue code in its distribution now), but if you don't care about time zones, and don't want to update your code. simple-date still works.
Best, Marijn
postmodern-devel mailing list postmodern-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel
Could it be that you're using an old Postmodern version? Or that you're loading the test systems (those depend on :simple-date-postgres-glue, which will cause this wiring-in to happen).
Best, Marijn
Sigh. Loading test systems. Bangs head on wall.
Thank you,
Sabra
On Thu, Jan 27, 2011 at 8:26 AM, Marijn Haverbeke marijnh@gmail.com wrote:
Could it be that you're using an old Postmodern version? Or that you're loading the test systems (those depend on :simple-date-postgres-glue, which will cause this wiring-in to happen).
Best, Marijn
postmodern-devel mailing list postmodern-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel
postmodern-devel@common-lisp.net