Skip to content

Commit

Permalink
Merge branch 'patch-1' of github.com:alexander-mart/git-stats into ne…
Browse files Browse the repository at this point in the history
…w-version
  • Loading branch information
IonicaBizau committed Oct 19, 2023
2 parents 9f0c318 + 1401a3e commit 4d1e603
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ module.exports = {
// The file where the commit hashes will be stored
, "path": "~/.git-stats"

// First day of the week
// [DEPRECATED] First day of the week https://github.com/IonicaBizau/git-stats/issues/121
, first_day: "Sun"

// This defaults to *one year ago*
Expand Down
3 changes: 2 additions & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ class GitStats {
theme: options.theme
, start: options.start
, end: options.end
, firstDay: options.firstDay
, firstDay: options.firstDay // [DEPRECATED] https://github.com/IonicaBizau/git-stats/issues/121
, cal: cal
, raw: options.raw
}
Expand Down Expand Up @@ -661,6 +661,7 @@ GitStats.DEFAULT_CONFIG = {
// This defaults in library
, path: undefined

// [DEPRECATED] https://github.com/IonicaBizau/git-stats/issues/121
// This defaults in cli-gh-cal
, first_day: undefined

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
" // The file where the commit hashes will be stored",
" , \"path\": \"~/.git-stats\"",
"",
" // First day of the week",
" // [DEPRECATED] First day of the week https://github.com/IonicaBizau/git-stats/issues/121"
" , first_day: \"Sun\"",
"",
" // This defaults to *one year ago*",
Expand Down Expand Up @@ -286,4 +286,4 @@
"bloggify.json",
"bloggify/"
]
}
}

0 comments on commit 4d1e603

Please sign in to comment.