diff --git a/src/page/prompt/index.md b/src/page/prompt/index.md index a7a917b..b99c01c 100644 --- a/src/page/prompt/index.md +++ b/src/page/prompt/index.md @@ -36,8 +36,8 @@ let params = new URL(document.location).searchParams; let now = new Date(); let a = params.get("a") || `${now.getFullYear()}`; let b = params.get("b") || `${now.getMonth()}`; -let c = params.get("c") || `${now.getDay()}`; -let d = params.get("d") || `${now.getFullYear()}${now.getMonth()}${now.getDay()}`; +let c = params.get("c") || `${now.getDate()}`; +let d = params.get("d") || `${now.getFullYear()}${now.getMonth()}${now.getDate()}`; console.log("Seeds:", a, b, c, d); rand = sfc32(+a, +b, +c, +d); // takes a few iterations to get rolling