[Dbix-class] InflateColumn::DateTime

Matt S Trout dbix-class at trout.me.uk
Thu Aug 10 20:54:32 CEST 2006


Jonas wrote:
> On 10/08/06, Matt S Trout <dbix-class at trout.me.uk> wrote:
>> 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
> 
> I had not seen your reply. I'm sorry.

And yours arrived telling me just after I sent that. Scuse my crankiness.



More information about the Dbix-class mailing list