[Koha-bugs] [Bug 11148] Two routines are useless in Koha::DateUtils

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jan 12 05:42:25 CET 2014


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

--- Comment #11 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 23092
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23092
Bug 11148: Two routines are useless in Koha::DateUtils

Review of attachment 23092:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=11148&attachment=23092)
-----------------------------------------------------------------

::: t/DateUtils.t
@@ -68,5 @@
>  cmp_ok $date_string, 'eq', '16/06/2011', 'metric output (date only)';
>  
> -$date_string = output_pref({ dt => $dt, dateformat => 'metric', timeformat => '24hr' });
> -cmp_ok $date_string, 'eq', '16/06/2011 12:00',
> -  'output_pref_due preserves non midnight HH:SS';

Why did you cut this test? The text is wrong, but the function call is
output_pref, which is still used.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list