mirror of
https://github.com/arzzen/git-quick-stats.git
synced 2026-09-10 07:36:19 -04:00
fix: Ubuntu does not support date -j
This is required for changelogs. Resolves #147
This commit is contained in:
parent
0fea0323a4
commit
22bf354da4
|
|
@ -394,7 +394,7 @@ function changelogs() {
|
|||
--date=short "${_author}" "$_since" "$_until" $_log_options $_pathspec \
|
||||
| sort -u -r | head -n $_limit \
|
||||
| while read DATE; do
|
||||
day=$(date -u -j -f "%Y-%m-%d" "$DATE" "+%A")
|
||||
day=$(date -d "$DATE" "+%A")
|
||||
echo -e "\n[$DATE - $day]"
|
||||
GIT_PAGER=cat git -c log.showSignature=false log \
|
||||
--use-mailmap $_merges \
|
||||
|
|
|
|||
Loading…
Reference in a new issue