View | Details | Raw Unified | Return to bug 9479
Collapse All | Expand All

(-)a/Koha/Template/Plugin/KohaDates.pm (-2 / +1 lines)
Lines 36-42 sub filter { Link Here
36
    return "" unless $text;
36
    return "" unless $text;
37
    $config->{with_hours} //= 0;
37
    $config->{with_hours} //= 0;
38
    my $dt = dt_from_string( $text, 'iso' );
38
    my $dt = dt_from_string( $text, 'iso' );
39
    return output_pref( $dt, undef, !$config->{with_hours} );
39
    return output_pref( $dt, undef, undef, !$config->{with_hours} );
40
}
40
}
41
41
42
1;
42
1;
43
- 

Return to bug 9479