[ic] ic6 proposal: change all time() calls to DateTime
Peter Mottram
peter at sysnix.com
Thu Jan 30 15:08:18 UTC 2014
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.
Any thoughts?
Regards
PeteM
More information about the interchange-users
mailing list