From 5ea985164ed8f52a53f12f76e529267a2904102a Mon Sep 17 00:00:00 2001 From: fulmeek <36341513+fulmeek@users.noreply.github.com> Date: Thu, 14 Mar 2019 19:44:36 +0100 Subject: [PATCH] [OneFortuneADayBridge] use date in UTC for seed (#1059) --- bridges/OneFortuneADayBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/OneFortuneADayBridge.php b/bridges/OneFortuneADayBridge.php index 31296041483..62fe767d9b9 100644 --- a/bridges/OneFortuneADayBridge.php +++ b/bridges/OneFortuneADayBridge.php @@ -55,7 +55,7 @@ public function collectData() { $time -= self::DAY_SECS; for ($i = self::LIMIT_ITEMS; $i > 0; --$i) { - $seed = date('Ymd', $time) . $this->getInput('lucky'); + $seed = gmdate('Ymd', $time) . $this->getInput('lucky'); $quote = $this->getQuote($seed); $item['title'] = strftime('%A, %x', $time);