Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 56dc72c

Browse files
gen/feat: Reset to the first problem
1 parent 925017d commit 56dc72c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎db/problems.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export function getProblemOfDay() {
77
currentDate.toLocaleString("en-US", { timeZone: "Africa/Cairo" });
88
return (
99
Math.floor(
10-
(currentDate.getTime() - new Date("2024-04-05T00:00:00").getTime()) /
10+
(currentDate.getTime() - new Date("2024-04-07T00:00:00").getTime()) /
1111
(1000 * 3600 * 24)
1212
) % problems.length
1313
);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /