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

(-)a/Koha/Object.pm (-2 / +2 lines)
Lines 749-755 sub attributes_from_api { Link Here
749
        }
749
        }
750
        elsif ( _date_or_datetime_column_type( $columns_info->{$koha_field_name}->{data_type} ) ) {
750
        elsif ( _date_or_datetime_column_type( $columns_info->{$koha_field_name}->{data_type} ) ) {
751
            try {
751
            try {
752
                $value = dt_from_string($value, 'rfc3339');
752
                $value = dt_from_string($value, 'rfc3339')
753
                    if defined $value;
753
            }
754
            }
754
            catch {
755
            catch {
755
                Koha::Exceptions::BadParameter->throw( parameter => $key );
756
                Koha::Exceptions::BadParameter->throw( parameter => $key );
756
- 

Return to bug 29157