Bug 20915 - Use date --iso-8601 instead of date +%Y-%m-%d to be more readable and crontab friendly
Summary: Use date --iso-8601 instead of date +%Y-%m-%d to be more readable and crontab...
Status: Passed QA
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Victor Grousset/tuxayo
QA Contact: Testopia
URL:
Whiteboard:
Keywords:
Depends on: 10419
Blocks:
  Show dependency treegraph
 
Reported: 2018-06-12 14:01 UTC by Victor Grousset/tuxayo
Modified: 2018-09-21 21:01 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: String patch
Bot Control: ---
When did the bot last check this:
Who signed the patch off:
Text to go in the release notes:


Attachments
Bug 20915: Use date --iso-8601 instead of date +%Y-%m-%d (1.14 KB, patch)
2018-06-12 14:09 UTC, Victor Grousset/tuxayo
Details | Diff | Splinter Review
Bug 20915: Use date --iso-8601 instead of date +%Y-%m-%d (1.14 KB, patch)
2018-06-12 14:15 UTC, Victor Grousset/tuxayo
Details | Diff | Splinter Review
Bug 20915: Use date --iso-8601 instead of date +%Y-%m-%d (1.16 KB, patch)
2018-09-14 14:27 UTC, M. Tompsett
Details | Diff | Splinter Review
Bug 20915: Use date --iso-8601 instead of date +%Y-%m-%d (1.23 KB, patch)
2018-09-21 21:01 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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 M. 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>