Angus Less interests, more interest.

    Angus January 30, 2021, 0:43

    变量dateEnd和dataEnd…
    这 bug 我找了仨小时…

    if ($random) {
        $dateS = strtotime($dateStart);
        $interval = floor((time() - $dateS) / 60 / 60 / 24 );
        $randomDay = rand(0, $interval);
        $dataEnd = gmdate('d-M-Y', time() + 3600 * 8 - $delay - ( $randomDay * 3600 * 24));
    } else {
        if ($day) {
            $dateEnd = gmdate('d-M-Y', time() + 3600 * 8 - $delay - ($day * 3600 * 24));
        } else {
            $dateToday = gmdate('d-M-Y', time() + 3600 * 8 - $delay);
            $dateEnd = $dateToday;
        }
    }
    Angus November 24, 2019, 21:20

    Angus May 14, 2019, 0:15
    Angus May 11, 2019, 10:52

    “你要记住,不是什么事情都和你作对,只是你的计划太完美,容不下一点变数。”

    Angus May 1, 2019, 10:01

    Angus February 19, 2019, 22:57

    Angus October 30, 2018, 20:29

联系方式
  • zhaohongzhi@angustar.com

关于我

  • Tough time don't last, tough people do.

那年今日
13 月前

所爱如山海烟火伴长明2022要继续快乐下去呀!✨

19 月前

百年大党,生日快乐!

20 月前

“十个电解九个炸,还有一个马上炸”。hhh这评论笑死我!https://b23.tv/9SunRL