Re: [Dbix-class] DateTime Inflations for Timestamps

2009-06-08 Thread Ryan Cone
On Jun 8, 2009, at 1:47 PM, Peter Rabbitson wrote: Ryan Cone wrote: Can anyone provide some insight into why timestamps are treated as datetimes in DBIx::Class::InflateColumn::DateTime? Line 63:$type = 'datetime' if ($type =~ /^timestamp/); I am using DBIC with Oracle and I am trying to

Re: [Dbix-class] DateTime Inflations for Timestamps

2009-06-08 Thread Peter Rabbitson
Ryan Cone wrote: > Can anyone provide some insight into why timestamps are treated as > datetimes in DBIx::Class::InflateColumn::DateTime? > > Line 63:$type = 'datetime' if ($type =~ /^timestamp/); > > > I am using DBIC with Oracle and I am trying to distinguish between > columns that are Da

Re: [Dbix-class] DateTime Inflations for Timestamps

2009-05-05 Thread Matt S Trout
On Mon, May 04, 2009 at 09:44:01AM -0400, Ryan Cone wrote: > Matt, I think your idea looks like the way to go and I see you already > provided access to result_source->storage->datetime_parser. For > clarification, were you suggesting I patch it or are you interested in > updating the packag

Re: [Dbix-class] DateTime Inflations for Timestamps

2009-05-04 Thread Alexander Hartmaier
Am Montag, den 04.05.2009, 15:44 +0200 schrieb Ryan Cone: > On May 4, 2009, at 5:15 AM, Alexander Hartmaier wrote: > > Am Freitag, den 01.05.2009, 00:48 +0200 schrieb Matt S Trout: > >> On Thu, Apr 30, 2009 at 03:53:52PM -0400, Ryan Cone wrote: > >>> > >>> I am using DBIC with Oracle and I am tryin

Re: [Dbix-class] DateTime Inflations for Timestamps

2009-05-04 Thread Ryan Cone
On May 4, 2009, at 5:15 AM, Alexander Hartmaier wrote: Am Freitag, den 01.05.2009, 00:48 +0200 schrieb Matt S Trout: On Thu, Apr 30, 2009 at 03:53:52PM -0400, Ryan Cone wrote: I am using DBIC with Oracle and I am trying to distinguish between columns that are Date and Date Time accurate. In t

Re: [Dbix-class] DateTime Inflations for Timestamps

2009-05-04 Thread Alexander Hartmaier
Am Freitag, den 01.05.2009, 00:48 +0200 schrieb Matt S Trout: > On Thu, Apr 30, 2009 at 03:53:52PM -0400, Ryan Cone wrote: > > Can anyone provide some insight into why timestamps are treated as > > datetimes in DBIx::Class::InflateColumn::DateTime? > > > > Line 63:$type = 'datetime' if ($type =

Re: [Dbix-class] DateTime Inflations for Timestamps

2009-04-30 Thread Matt S Trout
On Thu, Apr 30, 2009 at 03:53:52PM -0400, Ryan Cone wrote: > Can anyone provide some insight into why timestamps are treated as > datetimes in DBIx::Class::InflateColumn::DateTime? > > Line 63:$type = 'datetime' if ($type =~ /^timestamp/); > > > I am using DBIC with Oracle and I am trying

Re: [Dbix-class] DateTime Inflations for Timestamps

2009-04-30 Thread Rob Kinyon
On Thu, Apr 30, 2009 at 15:53, Ryan Cone wrote: > - Patch the file on my end > - Get my company to switch to MySQL > - Make an Oracle specific DateTime Inflator > - Work with the owner to change the module to treat timestamps as timestamps > - Work with the owner to change the module to treat time

[Dbix-class] DateTime Inflations for Timestamps

2009-04-30 Thread Ryan Cone
Can anyone provide some insight into why timestamps are treated as datetimes in DBIx::Class::InflateColumn::DateTime? Line 63:$type = 'datetime' if ($type =~ /^timestamp/); I am using DBIC with Oracle and I am trying to distinguish between columns that are Date and Date Time accurate.