Lines 367-377
sub _to_model {
Link Here
|
367 |
} |
367 |
} |
368 |
|
368 |
|
369 |
if ( exists $patron->{lastseen} ) { |
369 |
if ( exists $patron->{lastseen} ) { |
370 |
$patron->{lastseen} = output_pref({ dt => dt_from_string( $patron->{lastseen} ), dateformat => 'sql' }); |
370 |
$patron->{lastseen} = output_pref({ str => $patron->{lastseen}, dateformat => 'sql' }); |
371 |
} |
371 |
} |
372 |
|
372 |
|
373 |
if ( exists $patron->{updated_on} ) { |
373 |
if ( exists $patron->{updated_on} ) { |
374 |
$patron->{updated_on} = output_pref({ dt => dt_from_string( $patron->{updated_on} ), dateformat => 'sql' }); |
374 |
$patron->{updated_on} = output_pref({ str => $patron->{updated_on}, dateformat => 'sql' }); |
375 |
} |
375 |
} |
376 |
|
376 |
|
377 |
return $patron; |
377 |
return $patron; |
378 |
- |
|
|