[ic] ic6 proposal: change all time() calls to DateTime

Jon Jensen jon at endpoint.com
Thu Jan 30 20:58:04 UTC 2014


On Thu, 30 Jan 2014, Peter Mottram wrote:

> I'd like to propose changing created and last_modified in ic6 code from 
> time() to DateTime objects since epoch cannot be inserted directly into 
> datetime/timestamp columns in many databases. Switching to DateTime 
> means we can use DBIx::Class::InflateColumn::DateTime to look after the 
> needs of the backend.
>
> I'd be happy to work on a set of patches for Interchange6, Schema & 
> Dancer plugin.

Seems like a good idea to me.

Jon


-- 
Jon Jensen
End Point Corporation
http://www.endpoint.com/



More information about the interchange-users mailing list