[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…
Reference in a new issue