When i change the date in the db to '2000-02-02 10:00:00'
the regex that it tries is '(?-xism:^(\d{1,4})-(\d\d)-(\d\d)$)' and
when i change the date to '2000-02-02' it tries this regex
'(?-xism:^(\d{1,4})-(\d\d)-(\d\d) (\d\d):(\d\d):(\d\d)$)'

Does anyone knows why it tries always the wrong regex?

--Jonas

On 10/08/06, Jonas <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm trying to use InflateColumn::DateTime but i'm getting the
> following error when dbic tries to deflate a date from the db:
> DVDzbr::Controller::Dvd->list "Invalid date format: 2000-02-02 at
> /Library/Perl/5.8.6/Catalyst.pm line 1143
>
> I think the date is in the correct format. Am i doing something wrong?
>
> Thanks,
> --Jonas
>

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to