Skip to content

Commit

Permalink
Fix the first week including part of the last week of last year
Browse files Browse the repository at this point in the history
Fixes sallar#144

Modify the data fetching and processing to include the last week of the previous year in the first week of the current year.

* **src/utils/api/fetch.js**
  - Add `fetchLastWeekOfPreviousYear` function to fetch the last week of the previous year.
  - Modify `fetchDataForAllYears` to merge the last week of the previous year with the first week of the current year.

* **yarn.lock**
  - Update dependencies and resolve URLs for various packages.

* **.devcontainer.json**
  - Add a new file with build and launch tasks.

* **package-lock.json**
  - Add a new file with package dependencies and versions.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/sallar/github-contributions-chart/issues/144?shareId=XXXX-XXXX-XXXX-XXXX).
  • Loading branch information
The-CodeINN committed Oct 30, 2024
1 parent 45bf352 commit db0c57c
Show file tree
Hide file tree
Showing 4 changed files with 791 additions and 66 deletions.
6 changes: 6 additions & 0 deletions .devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"tasks": {
"build": "npm install && npm run build",
"launch": "npm install && npm run dev"
}
}
Loading

0 comments on commit db0c57c

Please sign in to comment.