in reply to Re: Date conversion with Class::DBI
in thread Date conversion with Class::DBI
One reason is that I can't change the stringification.
Another is that the mutator still only accepts ISO format
since inflate gets called both going from the database to
the object and from the mutator/user to the object.
I presume that you're "created" column doesn't get modified.DB<1> p $p->gp_ref_date Thu Mar 1 00:00:00 2001 DB<2> p $p->gp_ref_date('01/02/2003') after_set_gp_ref_date trigger error: Error parsing time
Thanks again for a good lead though.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Date conversion with Class::DBI
by hossman (Prior) on Jul 07, 2003 at 06:24 UTC | |
by bsb (Priest) on Jul 07, 2003 at 07:12 UTC | |
|
Re: Re: Re: Date conversion with Class::DBI
by cees (Curate) on Jul 07, 2003 at 13:33 UTC | |
by bsb (Priest) on Jul 08, 2003 at 00:14 UTC | |
by cees (Curate) on Jul 08, 2003 at 04:55 UTC | |
by bsb (Priest) on Jul 08, 2003 at 08:59 UTC |