mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-15 16:34:39 +02: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;
|
$time -= self::DAY_SECS;
|
||||||
|
|
||||||
for ($i = self::LIMIT_ITEMS; $i > 0; --$i) {
|
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);
|
$quote = $this->getQuote($seed);
|
||||||
|
|
||||||
$item['title'] = strftime('%A, %x', $time);
|
$item['title'] = strftime('%A, %x', $time);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue