On 12/28/05, John Siracusa <[EMAIL PROTECTED]> wrote:
> Thanks.  I'll set the env var in the test suite.  I'd be interested to know
> if this setting works for you in your actual code:
>
> http://search.cpan.org/dist/Rose-DB/lib/Rose/DB/Pg.pm#european_dates

Adding that option to my Rose::DB class causes an error:

Can't locate object method "european_dates" via package
"Rose::DB::Registry::Entry"at
/usr/local/share/perl/5.8.4/Rose/Object.pm line 25

It looks to me like a boolean accessor needs to be created for the
'european_dates' option in Rose::DB::Registry::Entry.  The included
patch resolves the error, but I still haven't actually tested the
resulting dates in my sample app.

Cheers,

Cees
--- Rose/DB/Registry/Entry.pm.orig	2005-12-28 14:08:14.000000000 -0500
+++ Rose/DB/Registry/Entry.pm	2005-12-28 14:08:26.000000000 -0500
@@ -24,6 +24,7 @@
   'boolean' =>
   [
     'auto_create' => { default => 1 },
+    'european_dates' => { default => 0 },
   ],
 
   'hash' =>

Reply via email to