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

(-)a/Koha/Object.pm (-2 / +1 lines)
Lines 224-230 sub TO_JSON { Link Here
224
        }
224
        }
225
        elsif ( _datetime_column_type( $columns_info->{$col}->{data_type} ) ) {
225
        elsif ( _datetime_column_type( $columns_info->{$col}->{data_type} ) ) {
226
            eval {
226
            eval {
227
                return undef unless $unblessed->{$col};
227
                return unless $unblessed->{$col};
228
                $unblessed->{$col} = output_pref({
228
                $unblessed->{$col} = output_pref({
229
                    dateformat => 'rfc3339',
229
                    dateformat => 'rfc3339',
230
                    dt         => dt_from_string($unblessed->{$col}, 'sql'),
230
                    dt         => dt_from_string($unblessed->{$col}, 'sql'),
231
- 

Return to bug 18330