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

(-)a/misc/export_records.pl (-4 / +3 lines)
Lines 35-41 use Koha::DateUtils qw( dt_from_string output_pref ); Link Here
35
my ( $output_format, $timestamp, $dont_export_items, $csv_profile_id, $deleted_barcodes, $clean, $filename, $record_type, $id_list_file, $starting_authid, $ending_authid, $authtype, $starting_biblionumber, $ending_biblionumber, $itemtype, $starting_callnumber, $ending_callnumber, $start_accession, $end_accession, $help );
35
my ( $output_format, $timestamp, $dont_export_items, $csv_profile_id, $deleted_barcodes, $clean, $filename, $record_type, $id_list_file, $starting_authid, $ending_authid, $authtype, $starting_biblionumber, $ending_biblionumber, $itemtype, $starting_callnumber, $ending_callnumber, $start_accession, $end_accession, $help );
36
GetOptions(
36
GetOptions(
37
    'format=s'                => \$output_format,
37
    'format=s'                => \$output_format,
38
    'datetime=s'              => \$timestamp,
38
    'date=s'                  => \$timestamp,
39
    'dont_export_items'       => \$dont_export_items,
39
    'dont_export_items'       => \$dont_export_items,
40
    'csv_profile_id=s'        => \$csv_profile_id,
40
    'csv_profile_id=s'        => \$csv_profile_id,
41
    'deleted_barcodes'        => \$deleted_barcodes,
41
    'deleted_barcodes'        => \$deleted_barcodes,
Lines 219-225 export records - This script exports record (biblios or authorities) Link Here
219
219
220
=head1 SYNOPSIS
220
=head1 SYNOPSIS
221
221
222
export_records.pl [-h|--help] [--format=format] [--datetime=datetime] [--record-type=TYPE] [--dont_export_items] [--deleted_barcodes] [--clean] [--id_list_file=PATH] --filename=outputfile
222
export_records.pl [-h|--help] [--format=format] [--date=datetime] [--record-type=TYPE] [--dont_export_items] [--deleted_barcodes] [--clean] [--id_list_file=PATH] --filename=outputfile
223
223
224
=head1 OPTIONS
224
=head1 OPTIONS
225
225
Lines 235-241 Print a brief help message. Link Here
235
235
236
=item B<--date>
236
=item B<--date>
237
237
238
 --datetime=DATETIME    DATETIME should be entered as the 'dateformat' syspref is
238
 --date=DATETIME        DATETIME should be entered as the 'dateformat' syspref is
239
                        set (dd/mm/yyyy[ hh:mm:ss] for metric, yyyy-mm-dd[ hh:mm:ss] for iso,
239
                        set (dd/mm/yyyy[ hh:mm:ss] for metric, yyyy-mm-dd[ hh:mm:ss] for iso,
240
                        mm/dd/yyyy[ hh:mm:ss] for us) records exported are the ones that
240
                        mm/dd/yyyy[ hh:mm:ss] for us) records exported are the ones that
241
                        have been modified since DATETIME.
241
                        have been modified since DATETIME.
242
- 

Return to bug 17444