From 19d4f8b4f833ed7d532455df7c8798a5fc08ce1c Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Sun, 16 Oct 2016 00:58:09 +0000 Subject: [PATCH] Bug 17444: Follow-up, don't change the name of parameter "date" --- misc/export_records.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/export_records.pl b/misc/export_records.pl index a9e89da..83d8a7b 100755 --- a/misc/export_records.pl +++ b/misc/export_records.pl @@ -35,7 +35,7 @@ use Koha::DateUtils qw( dt_from_string output_pref ); 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 ); GetOptions( 'format=s' => \$output_format, - 'datetime=s' => \$timestamp, + 'date=s' => \$timestamp, 'dont_export_items' => \$dont_export_items, 'csv_profile_id=s' => \$csv_profile_id, 'deleted_barcodes' => \$deleted_barcodes, @@ -219,7 +219,7 @@ export records - This script exports record (biblios or authorities) =head1 SYNOPSIS -export_records.pl [-h|--help] [--format=format] [--datetime=datetime] [--record-type=TYPE] [--dont_export_items] [--deleted_barcodes] [--clean] [--id_list_file=PATH] --filename=outputfile +export_records.pl [-h|--help] [--format=format] [--date=datetime] [--record-type=TYPE] [--dont_export_items] [--deleted_barcodes] [--clean] [--id_list_file=PATH] --filename=outputfile =head1 OPTIONS @@ -235,7 +235,7 @@ Print a brief help message. =item B<--date> - --datetime=DATETIME DATETIME should be entered as the 'dateformat' syspref is + --date=DATETIME DATETIME should be entered as the 'dateformat' syspref is set (dd/mm/yyyy[ hh:mm:ss] for metric, yyyy-mm-dd[ hh:mm:ss] for iso, mm/dd/yyyy[ hh:mm:ss] for us) records exported are the ones that have been modified since DATETIME. -- 2.1.4