On Tue, Jan 20, 2015 at 11:28:16AM +0100, Jonathan Druart wrote: > > The problem comes from DateTime::Format::DateParse. > Somebody knows why we use this module instead of generating a DateTime > object directly from the DateTime module? > I think it was only there to ease transition from the old C4 date routines. In new code generating a DateTime would probably be the way to go. Were we building things from scratch we'd probably set the options for DBIx::Class to return dates as DateTime objects
C. -- Colin Campbell Chief Software Engineer, PTFS Europe Limited Content Management and Library Solutions +44 (0) 800 756 6803 (phone) +44 (0) 7759 633626 (mobile) [email protected] skype: colin_campbell2 http://www.ptfs-europe.com _______________________________________________ Koha-devel mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
