Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Pulled in current master into this branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Reader/Extension/Syndication/Feed.php
Expand Up @@ -84,13 +84,15 @@ public function getUpdateFrequencyAsTicks()
$ticks = 1;

switch ($period) {
//intentional fall through
case 'yearly':
$ticks *= 52; //TODO: fix generalisation, how?
// no break
case 'weekly':
$ticks *= 7;
// no break
case 'daily':
$ticks *= 24;
// no break
case 'hourly':
$ticks *= 3600;
break;
Expand Down

0 comments on commit c1c633c

Please sign in to comment.