mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-26 21:27:48 -05:00
closes #123
This commit is contained in:
@@ -18,7 +18,7 @@ import MyThemeContext from "../../themeContext";
|
||||
const getFirstFridayDate = () => {
|
||||
const today = new Date();
|
||||
const month =
|
||||
today.getDate() <= 7 && today.getDay() <= 5
|
||||
today.getDate() - ((1 + today.getDay()) % 7) <= 0
|
||||
? today.getMonth()
|
||||
: today.getMonth() + 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user