From a4b43a65ff1de2a5daa1ded286c3f37c4833caaf Mon Sep 17 00:00:00 2001 From: Alexander Mart Date: Mon, 24 Apr 2023 06:03:18 +0700 Subject: [PATCH 1/3] doc: first_day is depecated. close #121 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ec8bf89..4d2c158 100644 --- a/README.md +++ b/README.md @@ -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* From ce43999e5fc56da946352485615cda91ac18d878 Mon Sep 17 00:00:00 2001 From: Alexander Mart Date: Mon, 24 Apr 2023 06:04:50 +0700 Subject: [PATCH 2/3] first_day is depecated. close #121 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1960e38..298b832 100644 --- a/package.json +++ b/package.json @@ -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/" ] -} \ No newline at end of file +} From 1401a3e97cf352b88812a27ab079eb90612168aa Mon Sep 17 00:00:00 2001 From: Alexander Mart Date: Mon, 24 Apr 2023 06:06:55 +0700 Subject: [PATCH 3/3] doc: first_day is depecated --- lib/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 70cf452..44c4ca1 100644 --- a/lib/index.js +++ b/lib/index.js @@ -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