Handle fortnightly digests, empty digests
This commit is contained in:
parent
77aaf4748f
commit
6eaaff513c
2 changed files with 25 additions and 18 deletions
|
@ -55,6 +55,9 @@ class Digest extends Mailable
|
|||
case 'weekly':
|
||||
$cutoffDateTime->modify('-1 week');
|
||||
break;
|
||||
case 'fortnightly':
|
||||
$cutoffDateTime->modify('-2 weeks');
|
||||
break;
|
||||
case 'monthly':
|
||||
$cutoffDateTime->modify('-1 month');
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue