Bug 20915

Summary: Use date --iso-8601 instead of date +%Y-%m-%d to be more readable and crontab friendly
Product: Koha Reporter: Victor Grousset/tuxayo <victor>
Component: Command-line UtilitiesAssignee: Victor Grousset/tuxayo <victor>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: jonathan.druart, nick, robin
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: String patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 10419    
Bug Blocks:    
Attachments: Bug 20915: Use date --iso-8601 instead of date +%Y-%m-%d
Bug 20915: Use date --iso-8601 instead of date +%Y-%m-%d
Bug 20915: Use date --iso-8601 instead of date +%Y-%m-%d
Bug 20915: Use date --iso-8601 instead of date +%Y-%m-%d

Description Victor Grousset/tuxayo 2018-06-12 14:01:19 UTC
Because in crontab you have to write ​date ​'+\%Y-\%m-\%d'
Comment 1 Victor Grousset/tuxayo 2018-06-12 14:09:00 UTC Comment hidden (obsolete)
Comment 2 Victor Grousset/tuxayo 2018-06-12 14:15:58 UTC
Created attachment 75976 [details] [review]
Bug 20915: Use date --iso-8601 instead of date +%Y-%m-%d
Comment 3 Mark Tompsett 2018-09-14 14:27:34 UTC
Created attachment 78661 [details] [review]
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>
Comment 4 Jonathan Druart 2018-09-21 21:01:42 UTC
Created attachment 79256 [details] [review]
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>
Comment 5 Nick Clemens (kidclamp) 2018-09-26 19:34:34 UTC
Awesome work all!

Pushed to master for 18.11
Comment 6 Martin Renvoize (ashimema) 2018-09-27 12:40:58 UTC
This will not be backported to 18.05.x series.