[Dbix-class] InflateColumn::DateTime

Matt S Trout dbix-class at trout.me.uk
Thu Aug 10 19:26:04 CEST 2006


Jonas wrote:
> 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?

NOT IF YOU DON'T TELL US WHICH DATABASE YOU'RE USING SO WE KNOW WHAT CODE PATH 
IS BEING FOLLOWED



More information about the Dbix-class mailing list