From: Mischa POSLAWSKY Date: Mon, 9 Sep 2019 16:57:40 +0000 (+0200) Subject: replace perl in example date parsing X-Git-Tag: v1.05~12 X-Git-Url: http://git.shiar.nl/barcat.git/commitdiff_plain/1581d8acae9b0ed74bd4c5a696f6cdc470fe84d9?hp=1581d8acae9b0ed74bd4c5a696f6cdc470fe84d9 replace perl in example date parsing Time::Piece was released with perl v5.8.9 but may not be installed on restricted systems. Hardcoding the number of days is less flexible but "only" relies on a GNU date supporting -d. Furthermore, git only supports date formatting since version 2.6.0, so prefer an equivalent cut similar to earlier year selection. ---