mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-14 20:21:14 +03:00
[OneFortuneADayBridge] use date in UTC for seed (#1059)
This commit is contained in:
parent
696afa96d3
commit
5ea985164e
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class OneFortuneADayBridge extends BridgeAbstract {
|
|||
$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);
|
||||
|
|
Loading…
Add table
Reference in a new issue