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

(-)a/Koha/DateUtils.pm (-2 / +1 lines)
Lines 53-59 to the system preferences. If the date string is empty DateTime->now is returned Link Here
53
sub dt_from_string {
53
sub dt_from_string {
54
    my ( $date_string, $date_format, $tz ) = @_;
54
    my ( $date_string, $date_format, $tz ) = @_;
55
55
56
    return if $date_string and $date_string =~ m|^0000-0|;
56
    return undef if $date_string and $date_string =~ m|^0000-0|;
57
57
58
    $tz = C4::Context->tz unless $tz;;
58
    $tz = C4::Context->tz unless $tz;;
59
59
60
- 

Return to bug 15087