Commit d4b62d8
authored
Replaced createdAt with date of earliest repo for merged accounts (#377)
* Refactor UserInfo class to calculate duration based on earliest repository creation date
* Remove repository creation date from Repository type and adjust duration calculations to use user activity creation date
* Refactor UserInfo class to calculate duration based on earliest repository creation date
* Add repository name logging in UserInfo class for debugging
* Add logging for earliest repository creation date and duration calculation in UserInfo class
* Add repository name and creation date to user repository query
* Remove debug logging for repository name and earliest creation date in UserInfo class
* deno task format
* Refactor UserInfo class to optimize stargazers and languages aggregation, and streamline earliest repository date calculation
* undo last commit
* Refactor earliest repository date calculation for improved clarity and efficiency
* remove info that was used for debugging
* deno task format
* remove info that was used for debugging1 parent 5d093da commit d4b62d8
2 files changed
+19
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
84 | 98 | | |
85 | | - | |
| 99 | + | |
86 | 100 | | |
87 | 101 | | |
88 | 102 | | |
89 | 103 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
| 104 | + | |
96 | 105 | | |
97 | 106 | | |
| 107 | + | |
| 108 | + | |
98 | 109 | | |
99 | 110 | | |
100 | 111 | | |
| |||
0 commit comments