http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13813
--- Comment #82 from Jonathan Druart <jonathan.dru...@biblibre.com> --- Created attachment 37810 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37810&action=edit temporary tests Marc, If I am not wrong, these tests reflect what you are doing in the patches. If you have a look, you will see there are some mistakes. For instance output_pref( { dt => dt_from_string($iso), dateformat => 'iso', dateonly => 1 } ); won't return the same as C4::Dates->new( $iso, 'iso' )->output("iso"); But output_pref( { dt => dt_from_string({ dt => $iso, dateformat => 'iso' }), dateformat => 'iso', dateonly => 1 } ); will :) You should try to list exhaustively all existing patterns of C4::Dates you will replace and try to find their correct replacements. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/