[Koha-devel] [Koha] question serials start date

Jonathan Druart jonathan.druart at biblibre.com
Tue Jan 20 15:22:46 CET 2015


Thanks Colin!
I have just opened bug 13601, I will add a patch soon to remove the use of
DateTime::Format::DateParse.

2015-01-20 12:42 GMT+01:00 Colin Campbell <colin.campbell at ptfs-europe.com>:

> 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)
> colin.campbell at ptfs-europe.com
> skype: colin_campbell2
>
> http://www.ptfs-europe.com
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> 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/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20150120/32bcceb5/attachment.html>


More information about the Koha-devel mailing list