Skip to content

Commit

Permalink
[OneFortuneADayBridge] use date in UTC for seed (RSS-Bridge#1059)
Browse files Browse the repository at this point in the history
  • Loading branch information
fulmeek authored and logmanoriginal committed Mar 14, 2019
1 parent feb5e71 commit f68f3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridges/OneFortuneADayBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f68f3b2

Please sign in to comment.