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

(-)a/Koha/Object.pm (-2 / +2 lines)
Lines 709-715 sub attributes_from_api { Link Here
709
        }
709
        }
710
        elsif ( _date_or_datetime_column_type( $columns_info->{$koha_field_name}->{data_type} ) ) {
710
        elsif ( _date_or_datetime_column_type( $columns_info->{$koha_field_name}->{data_type} ) ) {
711
            try {
711
            try {
712
                $value = dt_from_string($value, 'rfc3339');
712
                $value = dt_from_string($value, 'rfc3339')
713
                    if defined $value;
713
            }
714
            }
714
            catch {
715
            catch {
715
                Koha::Exceptions::BadParameter->throw( parameter => $key );
716
                Koha::Exceptions::BadParameter->throw( parameter => $key );
716
- 

Return to bug 29157