Bugzilla – Attachment 79256 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.23 KB, created by
Jonathan Druart
on 2018-09-21 21:01:42 UTC
(
hide
)
Description:
Bug 20915: Use date --iso-8601 instead of date +%Y-%m-%d
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-09-21 21:01:42 UTC
Size:
1.23 KB
patch
obsolete
>From ed4a007a8b5c9fcea0f0082169a929e21a2f2858 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> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > 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