http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13242

Marc Véron <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #17 from Marc Véron <[email protected]> ---
I tested with and without patch and had the same problem (about 20 sec for
checking in an item for an undefinitly restricted patron.

With patch, I played around with the following line:

return DateTime::Format::DateParse->parse_datetime($date_string);

Same result without and with time zone parameter (e.g. 'floating' or '+0000').

I also tested and had the same result using the following code (with and
without time_zone variants)

        return  DateTime->new (
                 year=> 9999,
                 month=> 12,
                 day => 31,
                 hour => 0,
                 minute => 0,
                 second => 0,
                 time_zone => '+0000',
                );

The only thing that reduced time was to change the year e.g. to 2999 (for both
methods).

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to