arzzen / git-quick-stats

▁▅▆▃▅ Git quick statistics is a simple and efficient way to access various statistics in git repository.
https://git-quick-stats.sh/
MIT License
6.27k stars 249 forks source link

date does not have a '-j' in ubuntu rather than free BSD #147

Closed MagicFrogSJTU closed 11 months ago

MagicFrogSJTU commented 1 year ago

This works

-              day=$(date -u -j -f "%Y-%m-%d" "$DATE" "+%A")                           
+              day=$(date -d "$DATE" "+%A")