Skip to content

Commit 88f3881

Browse files
Merge branch 'main' into stable
2 parents 9d30fa2 + 49082f2 commit 88f3881

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

public/temp/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,14 +1031,15 @@ <h1>
10311031
const firstDayOfYear = new Date(date.getFullYear(), 0, 1);
10321032
const pastDaysOfYear =
10331033
(date.getTime() - firstDayOfYear.getTime()) / 86400000; // Milliseconds per day
1034-
return Math.ceil((pastDaysOfYear + 1) / 7);
1034+
//return Math.ceil((pastDaysOfYear + 1) / 7);
1035+
return Math.ceil(pastDaysOfYear / 3);
10351036
};
10361037

10371038
const hashWeek = () => {
10381039
const weekNumber = getWeekNumber();
10391040
const hash = CryptoJS.SHA1(weekNumber + '').toString();
10401041

1041-
return hash;
1042+
return hash.slice(0, 6);
10421043
};
10431044

10441045
const updateLink = () => {

0 commit comments

Comments
 (0)