mirror of
https://github.com/arzzen/git-quick-stats.git
synced 2026-09-10 07:36:19 -04:00
add day name to date
when grouping by author -L, I found it hard to read YYYY-MM-DD, so added day name to that.
This commit is contained in:
parent
71d414eb4a
commit
ebbeb34837
|
|
@ -391,7 +391,8 @@ function changelogs() {
|
|||
--date=short "${_author}" "$_since" "$_until" $_log_options $_pathspec \
|
||||
| sort -u -r | head -n $_limit \
|
||||
| while read DATE; do
|
||||
echo -e "\n[$DATE]"
|
||||
day=$(date -u -j -f "%Y-%m-%d" "$DATE" "+%A")
|
||||
echo -e "\n[$DATE - $day]"
|
||||
GIT_PAGER=cat git -c log.showSignature=false log \
|
||||
--use-mailmap $_merges \
|
||||
--format=" * %s (%aN)" "${_author}" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue