mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-07-17 01:05:21 -05:00
closes #123
This commit is contained in:
parent
ee7afd38ff
commit
aaa41c4f72
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user