Merge branch 'patch-1' of github.com:alexander-mart/git-stats into new-version

This commit is contained in:
Ionică Bizău 2023-10-19 11:40:33 +03:00
commit 4d1e603780
3 changed files with 5 additions and 4 deletions

View file

@ -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*

View file

@ -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
}
@ -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

View file

@ -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*",
@ -286,4 +286,4 @@
"bloggify.json",
"bloggify/"
]
}
}