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

(-)a/Koha/DateUtils.pm (-1 / +5 lines)
Lines 53-58 to the system preferences. If the date string is empty DateTime->now is returned Link Here
53
53
54
sub dt_from_string {
54
sub dt_from_string {
55
    my ( $date_string, $date_format, $tz ) = @_;
55
    my ( $date_string, $date_format, $tz ) = @_;
56
57
    if ( $date_string =~ /^9999-/ ) {
58
        return DateTime::Format::DateParse->parse_datetime($date_string);
59
    }
60
56
    if ( !$tz ) {
61
    if ( !$tz ) {
57
        $tz = C4::Context->tz;
62
        $tz = C4::Context->tz;
58
    }
63
    }
59
- 

Return to bug 13242