From 647422883d56d7512053f4d6cdbecc41a3e80586 Mon Sep 17 00:00:00 2001 From: Victor Grousset Date: Tue, 12 Jun 2018 14:04:37 +0000 Subject: [PATCH] Bug 20915: Use date --iso-8601 instead of date +%Y-%m-%d In delete_patrons.pl's POD To be more readable and crontab friendly Signed-off-by: Mark Tompsett Signed-off-by: Jonathan Druart Signed-off-by: Nick Clemens --- misc/cronjobs/delete_patrons.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cronjobs/delete_patrons.pl b/misc/cronjobs/delete_patrons.pl index 4470746a96..cb59465df4 100755 --- a/misc/cronjobs/delete_patrons.pl +++ b/misc/cronjobs/delete_patrons.pl @@ -104,7 +104,7 @@ delete_patrons - This script deletes patrons delete_patrons.pl [-h|--help] [-v|--verbose] [-c|--confirm] [--not_borrowed_since=DATE] [--expired_before=DATE] [--last-seen=DATE] [--category_code=CAT] [--library=LIBRARY] Dates should be in ISO format, e.g., 2013-07-19, and can be generated -with `date -d '-3 month' "+%Y-%m-%d"`. +with `date -d '-3 month' --iso-8601`. The options to select the patron records to delete are cumulative. For example, supplying both --expired_before and --library specifies that -- 2.39.5