From 95fa12a7323dbd2f409406fb6317e821a086cbdf Mon Sep 17 00:00:00 2001 From: ChenKaiLiuG <141424456+ChenKaiLiuG@users.noreply.github.com> Date: Sat, 22 Feb 2025 01:12:22 +0800 Subject: [PATCH] Remove todo Please don't change the hash function!!! It's the spirit of fortune generator. --- fortune_generator/js/fortune.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fortune_generator/js/fortune.js b/fortune_generator/js/fortune.js index 425a295..cb79f4e 100644 --- a/fortune_generator/js/fortune.js +++ b/fortune_generator/js/fortune.js @@ -324,8 +324,7 @@ function Appear() { if (!fortune_generated) { // transform ip to four numbers const num = ip.split(".").map((num) => parseInt(num)); - - // TODO: improve the hash process + const hashDate = Math.round( Math.log10( year * -- 2.49.1