Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4837c9c commit 32271e5Copy full SHA for 32271e5
‎backend/src/processing/wrapped/time.py
@@ -40,7 +40,7 @@ def get_day_data(data: UserPackage) -> DayData:
40
)
41
42
for item in data.contribs.total:
43
- day = datetime.fromisoformat(item.date).weekday()
+ day = (datetime.fromisoformat(item.date).weekday() + 1) % 7
44
days[day]["contribs"] += item.stats.contribs_count
45
loc_changed = sum(
46
x.additions + x.deletions for x in item.stats.languages.values()
0 commit comments