Lines 706-712
sub attributes_from_api {
Link Here
|
706 |
# Handle booleans gracefully |
706 |
# Handle booleans gracefully |
707 |
$value = ( $value ) ? 1 : 0; |
707 |
$value = ( $value ) ? 1 : 0; |
708 |
} |
708 |
} |
709 |
elsif ( _date_or_datetime_column_type( $columns_info->{$koha_field_name}->{data_type} ) ) { |
709 |
elsif ( _datetime_column_type( $columns_info->{$koha_field_name}->{data_type} ) ) { |
710 |
try { |
710 |
try { |
711 |
$value = dt_from_string($value, 'rfc3339'); |
711 |
$value = dt_from_string($value, 'rfc3339'); |
712 |
} |
712 |
} |
713 |
- |
|
|