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

(-)a/Koha/Object.pm (-2 / +1 lines)
Lines 751-757 sub attributes_from_api { Link Here
751
        elsif ( _date_or_datetime_column_type( $columns_info->{$koha_field_name}->{data_type} ) ) {
751
        elsif ( _date_or_datetime_column_type( $columns_info->{$koha_field_name}->{data_type} ) ) {
752
            try {
752
            try {
753
                if ( $columns_info->{$koha_field_name}->{data_type} eq 'date' ) {
753
                if ( $columns_info->{$koha_field_name}->{data_type} eq 'date' ) {
754
                    $value = $dtf->format_date(dt_from_string($value, 'rfc3339'))
754
                    $value = $dtf->format_date(dt_from_string($value))
755
                        if defined $value;
755
                        if defined $value;
756
                }
756
                }
757
                else {
757
                else {
758
- 

Return to bug 24850