Bugzilla – Attachment 78661 Details for
Bug 20915
Use date --iso-8601 instead of date +%Y-%m-%d to be more readable and crontab friendly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20915: Use date --iso-8601 instead of date +%Y-%m-%d
Bug-20915-Use-date---iso-8601-instead-of-date-Y-m-.patch (text/plain), 1.16 KB, created by
Mark Tompsett
on 2018-09-14 14:27:34 UTC
(
hide
)
Description:
Bug 20915: Use date --iso-8601 instead of date +%Y-%m-%d
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2018-09-14 14:27:34 UTC
Size:
1.16 KB
patch
obsolete
>From c29388fcd28a5f50ecf5af68014e6b35bd7252ae Mon Sep 17 00:00:00 2001 >From: Victor Grousset <victor.grousset@biblibre.com> >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 <mtompset@hotmail.com> >--- > 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.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20915
:
75970
|
75976
|
78661
|
79256