Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the first week including part of the last week of last year #158

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

The-CodeINN
Copy link

@The-CodeINN The-CodeINN commented Oct 30, 2024

Fixes #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.

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).
Copy link

vercel bot commented Oct 30, 2024

@The-CodeINN is attempting to deploy a commit to the Github Contributions Chart Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The first week include part of the last week of last year
1 participant